Discussion:
apt broken dependencies
(too old to reply)
Viliam Kocinsky
2005-12-14 10:50:08 UTC
Permalink
Hi,
i have upgraded my instalation of debian stable to testing. My
repository list looks like this:

t# cat /etc/apt/sources.list
deb ftp://ftp.sk.debian.org/debian/ stable main
deb ftp://ftp.cz.debian.org/debian/ stable main
deb http://security.debian.org/ stable/updates main
deb ftp://ftp.sk.debian.org/debian/ testing main
deb ftp://ftp.cz.debian.org/debian/ testing main
deb http://security.debian.org/ testing/updates main
deb http://www.backports.org/pending/openoffice.org/ ./
deb http://download.skype.com/linux/repos/debian/ stable non-free

Now i have problem with broken dependencies. When i try to run:

t# apt-get install k3b
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
k3b: Depends: k3blibs (>= 0.11.20) but it is not going to be installed
Depends: kdelibs4 (>= 4:3.3.2-1) but it is not going to be
installed
Depends: libarts1 (>= 1.3.2) but it is not going to be installed
Depends: libqt3c102-mt (>= 3:3.3.3) but it is not going to be
installed
E: Broken packages

Then i try tu install k3blibs, and other and i go on and on.
Do you now some commands, that will check dependencies and repare broken
packages?
Thanks
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Michael Marsh
2005-12-14 13:40:23 UTC
Permalink
Post by Viliam Kocinsky
Hi,
i have upgraded my instalation of debian stable to testing. My
t# cat /etc/apt/sources.list
deb ftp://ftp.sk.debian.org/debian/ stable main
deb ftp://ftp.cz.debian.org/debian/ stable main
deb http://security.debian.org/ stable/updates main
deb ftp://ftp.sk.debian.org/debian/ testing main
deb ftp://ftp.cz.debian.org/debian/ testing main
deb http://security.debian.org/ testing/updates main
deb http://www.backports.org/pending/openoffice.org/ ./
deb http://download.skype.com/linux/repos/debian/ stable non-free
Is there a reason you're mixing stable and testing? If you're really
intending to upgrade to testing, you should comment out the sources
for stable.
Post by Viliam Kocinsky
t# apt-get install k3b
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
What else did you do other than changing your sources list? Did you
run an update and a dist-upgrade?

--
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com
Dexter
2005-12-14 16:00:11 UTC
Permalink
i run
#apt-get update
#apt-get upgrade
Post by Michael Marsh
Post by Viliam Kocinsky
Hi,
i have upgraded my instalation of debian stable to testing. My
t# cat /etc/apt/sources.list
deb ftp://ftp.sk.debian.org/debian/ stable main
deb ftp://ftp.cz.debian.org/debian/ stable main
deb http://security.debian.org/ stable/updates main
deb ftp://ftp.sk.debian.org/debian/ testing main
deb ftp://ftp.cz.debian.org/debian/ testing main
deb http://security.debian.org/ testing/updates main
deb http://www.backports.org/pending/openoffice.org/ ./
deb http://download.skype.com/linux/repos/debian/ stable non-free
Is there a reason you're mixing stable and testing? If you're really
intending to upgrade to testing, you should comment out the sources
for stable.
Post by Viliam Kocinsky
t# apt-get install k3b
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
What else did you do other than changing your sources list? Did you
run an update and a dist-upgrade?
--
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Michael Marsh
2005-12-14 16:20:18 UTC
Permalink
Post by Dexter
i run
#apt-get update
#apt-get upgrade
If you're upgrading from one distribution (stable) to another
(testing), you need to run
# apt-get dist-upgrade

Otherwise, all of the changes between the two that require new
packages for upgrades or the removal of obsolete packages can't go
through.

--
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com

Continue reading on narkive:
Loading...