You are not logged in.

#1 2012-04-16 23:26:39

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

[SOLVED]dpkg: requires lzma error on upgrade.

Hi All,

I am doing an upgrade and have been asked to upgrade pacman, I do that after renaming some conflicting files and the upgrade goes ahead.
Now I try to do a complete upgrade and I get this error which I havn't seen before, and have not seen mentioned in the forums.

:: Starting full system upgrade...
:: Replace gnupg2 with core/gnupg? [Y/n] y
:: Replace module-init-tools with core/kmod? [Y/n] y
:: Replace seahorse-plugins with community/seahorse-nautilus? [Y/n] y
resolving dependencies...
warning: dependency cycle detected:
warning: udev will be installed before its util-linux dependency
looking for inter-conflicts...
:: sqlite and sqlite3 are in conflict. Remove sqlite3? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: dpkg: requires lzma

I am not sure if I have to remove dpkg ? Seems dangerous isn't that needed by pacman ...

***** Just an observation ... it seems that doing upgrades is getting more and more complicated ... Arch used to be simple!! ********

Cheers,
Bernie

Last edited by bmentink (2012-04-17 00:30:58)

Offline

#2 2012-04-16 23:42:44

adamrehard
Member
From: NY, USA
Registered: 2011-11-03
Posts: 154

Re: [SOLVED]dpkg: requires lzma error on upgrade.

Dpkg is not needed by pacman. I believe that unless you know you need dpkg, you probbably don't. Do you have lzma installed? Can you post the full output of pacman?

Last edited by adamrehard (2012-04-16 23:49:55)


"The box said requires Vista or better, so I installed Arch"
Windows != Linux

Offline

#3 2012-04-17 00:03:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]dpkg: requires lzma error on upgrade.

bmentink, you seriously mixed something up.
dpkg is in the AUR https://aur.archlinux.org/packages.php?ID=16974 so pacman can't depend on it. If you're still unsure, 'pactree -sul pacman | grep dpkg' will tell you that neither pacman nor any of pacman's dependencies require dpkg.

bmentink wrote:

***** Just an observation ... it seems that doing upgrades is getting more and more complicated ... Arch used to be simple!! ********

https://wiki.archlinux.org/index.php/Th … Simplicity

Arch Linux retains the inherent complexities of a GNU/Linux system, while keeping them well organized and transparent. Arch Linux developers and users believe that trying to hide the complexities of a system actually results in an even more complex system, and is therefore to be avoided.

Renaming / replacing packages is usually not a huge deal and was always present.
kmod replaced module-init-tools 3 months ago: http://www.archlinux.org/news/kmod-repl … nit-tools/ so I think you should update a bit more often.



Edit:
https://projects.archlinux.org/svntogit … 687d974538
xz no longer provides lzma.

dpkg has recently been updated and I don't see any reference to lzma in the current PKGBUILD.

Last edited by karol (2012-04-17 00:12:01)

Offline

#4 2012-04-17 00:30:43

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Re: [SOLVED]dpkg: requires lzma error on upgrade.

karol wrote:

bmentink, you seriously mixed something up.
dpkg is in the AUR https://aur.archlinux.org/packages.php?ID=16974 so pacman can't depend on it. If you're still unsure, 'pactree -sul pacman | grep dpkg' will tell you that neither pacman nor any of pacman's dependencies require dpkg.
.

Thanks, I had forgotten I had installed this from AUR and used it to install a debian package I could not get with pacman or AUR.

I have deleted it and will re-install from AUR if I need it again ..
Thanks for the hint on finding dependencies with pacman .. that will help ..

Marking Solved.

Cheers,
B.

Offline

#5 2012-04-17 00:34:06

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Re: [SOLVED]dpkg: requires lzma error on upgrade.

karol wrote:

bmentink,
kmod replaced module-init-tools 3 months ago: http://www.archlinux.org/news/kmod-repl … nit-tools/ so I think you should update a bit more often.
.

This box I am upgrading is one of 5 in my household .... and I have a very slow "narrowband" connection to the world ... pulling in 500M of upgrade for each box "often" just isn't an option ;-)

Offline

#6 2012-04-17 05:43:04

ploub
Member
Registered: 2007-05-16
Posts: 137

Re: [SOLVED]dpkg: requires lzma error on upgrade.

bmentink wrote:

This box I am upgrading is one of 5 in my household .... and I have a very slow "narrowband" connection to the world ... pulling in 500M of upgrade for each box "often" just isn't an option ;-)

Then I recommend you use pacserve wink

Last edited by ploub (2012-04-17 05:43:55)

Offline

Board footer

Powered by FluxBB