DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello,
after an upgrade, about 10 days ago, I have a messed up system.
If I try to install some package, apt would remove lots of needed packages.
For instance:
I recall seeing a bug for apt during a recent upgrade that said apt wanted to remove a bunch of stuff when you attempted an upgrade.. my guess is you installed this buggy version of apt and now have been bitten by that bug...
I would suggest when you get this worked out you install apt-listbugs so that in the future you can dodge issues like this by canceling an update that would prove perilous to your system. ALWAYS review the bug list before upgrading on testing or unstable.. apt-listbugs automates this process for you.
You should use apt-get install apt to get a newer version of it and since you posted no /etc/apt/apt.conf file you should create one with at least the first and third line below in my file.
Bumping the testing score up to the 900 and if you want the Debian Multimedia packages installed over the stock Debian ones all the time then add it in as well. You will want to edit your sources.list and remove the backports line it not applicable to the setup you are running. Then once you have made the changes apt-get update and apt-get -s dist-upgrade to get everything up to date with your lenny/testing distro remove the -s from the command if everything looks like its going alright.
I'm not sure I don't need the first three, but I don't think I need them, based on what I read in their description.
Maybe libpanel, but... I'll try and see. (I don't have gnome, anyway)
As for libwxgtk2.4, I think I should be able to replace it with libwxgtk2.4-1 or libwxgtk2.6-0.
I'm not sure I don't need the first three, but I don't think I need them, based on what I read in their description.
Maybe libpanel, but... I'll try and see. (I don't have gnome, anyway)
As for libwxgtk2.4, I think I should be able to replace it with libwxgtk2.4-1 or libwxgtk2.6-0.
Thanks
The libspp0 is for C compiler stack protection probably not needed by you and your right the others can replace the wxgtk if needed.
mmh... I get lots of bug notices, now that I've installed listbugs.
Well, ok, that's what listbugs is supposed to be there for...
I'll take some time to carefully check them over.
(anyway the log file is here)
Preconfiguring packages ...
(Reading database ... 116799 files and directories currently installed.)
Removing dbus-1-dev ...
Removing gedit ...
Removing gpdf ...
/var/lib/dpkg/info/gpdf.prerm: line 5: gconf-schemas: command not found
dpkg: error processing gpdf (--remove):
subprocess pre-removal script returned error exit status 127
Errors were encountered while processing:
gpdf
E: Sub-process /usr/bin/dpkg returned an error code (1)
How should I do it?
Removing gpdf alone returns the same error.
:help:
Preconfiguring packages ...
(Reading database ... 116799 files and directories currently installed.)
Removing dbus-1-dev ...
Removing gedit ...
Removing gpdf ...
/var/lib/dpkg/info/gpdf.prerm: line 5: gconf-schemas: command not found
dpkg: error processing gpdf (--remove):
subprocess pre-removal script returned error exit status 127
Errors were encountered while processing:
gpdf
E: Sub-process /usr/bin/dpkg returned an error code (1)
How should I do it?
Removing gpdf alone returns the same error.
:help:
On my install that file is in the gconf2 package try seeing if it will let you install this package then do the removal or depending on the use of the gconf-schemas in the file /var/lib/dpkg/info/gpdf.prerm you might be able to edit the file and remove/comment out the line 5 reference to it to let it uninstall/upgrade like you want.
debian:~# cat /var/lib/dpkg/info/gpdf.prerm
#!/bin/sh
set -e
# Automatically added by dh_gconf
if [ "$1" = remove ] || [ "$1" = upgrade ]; then
gconf-schemas --unregister gpdf.schemas
fi
# End automatically added section
debian:~#
but I don't have any gconf-shemas command, that is, "locate gconf-schemas" returns nothing.
I can just commented it out, as you suggest. Thanks.
Anyway, I also get an error by apt-listbugs... it cannot download bug information, and asks me to abort the dist-upgrade. I don't.
Yesterday apt-listbugs ran with no problem.
I just hope it's fine, and proceed with the dist-upgrade.
Running mktexlsr. This may take some time... done.
Building format(s) --all.
This may take some time...
fmtutil-sys failed. Output has been stored in
/tmp/fmtutil.ncnS9370
Please include this file if you report a bug.
dpkg: error processing texlive-base-bin (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of texlive-base:
texlive-base depends on texlive-base-bin (>= 2007-8); however:
Package texlive-base-bin is not configured yet.
dpkg: error processing texlive-base (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-fonts-recommended:
texlive-fonts-recommended depends on texlive-base (>= 2007-7); however:
Package texlive-base is not configured yet.
dpkg: error processing texlive-fonts-recommended (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-latex-base:
texlive-latex-base depends on texlive-base (>= 2007-7); however:
Package texlive-base is not configured yet.
dpkg: error processing texlive-latex-recommended (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive:
texlive depends on texlive-fonts-recommended (>= 2007-7); however:
Package texlive-fonts-recommended is not configured yet.
texlive depends on texlive-latex-recommended (>= 2007-7); however:
Package texlive-latex-recommended is not configured yet.
texlive depends on texlive-latex-base (>= 2007-7); however:
Package texlive-latex-base is not configured yet.
dpkg: error processing texlive (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of tetex-bin:
tetex-bin depends on texlive (>= 2007-7); however:
Package texlive is not configured yet.
dpkg: error processing tetex-bin (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
texlive-base-bin
texlive-base
texlive-fonts-recommended
texlive-latex-base
texlive-latex-recommended
texlive
tetex-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
debian:~#
So it's a fmtutil error.
By looking into "/tmp/fmtutil.ncnS9370" and googling, I found this;
but it does not work anyway:
Code:
debian:~# dpkg -i --force-confmiss /var/cache/apt/archives/texlive-base-bin_2007-12_i386.deb
(Reading database ... 141861 files and directories currently installed.)
Preparing to replace texlive-base-bin 2007-12 (using .../texlive-base-bin_2007-12_i386.deb) ...
Unpacking replacement texlive-base-bin ...
Setting up texlive-base-bin (2007-12) ...
Running mktexlsr. This may take some time... done.
Building format(s) --all.
This may take some time...
fmtutil-sys failed. Output has been stored in
/tmp/fmtutil.eOg10862
Please include this file if you report a bug.
dpkg: error processing texlive-base-bin (--install):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
texlive-base-bin
debian:~#
Running mktexlsr. This may take some time... done.
Building format(s) --all.
This may take some time...
fmtutil-sys failed. Output has been stored in
/tmp/fmtutil.ncnS9370
Please include this file if you report a bug.
dpkg: error processing texlive-base-bin (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of texlive-base:
texlive-base depends on texlive-base-bin (>= 2007-8); however:
Package texlive-base-bin is not configured yet.
dpkg: error processing texlive-base (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-fonts-recommended:
texlive-fonts-recommended depends on texlive-base (>= 2007-7); however:
Package texlive-base is not configured yet.
dpkg: error processing texlive-fonts-recommended (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-latex-base:
texlive-latex-base depends on texlive-base (>= 2007-7); however:
Package texlive-base is not configured yet.
dpkg: error processing texlive-latex-recommended (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive:
texlive depends on texlive-fonts-recommended (>= 2007-7); however:
Package texlive-fonts-recommended is not configured yet.
texlive depends on texlive-latex-recommended (>= 2007-7); however:
Package texlive-latex-recommended is not configured yet.
texlive depends on texlive-latex-base (>= 2007-7); however:
Package texlive-latex-base is not configured yet.
dpkg: error processing texlive (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of tetex-bin:
tetex-bin depends on texlive (>= 2007-7); however:
Package texlive is not configured yet.
dpkg: error processing tetex-bin (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
texlive-base-bin
texlive-base
texlive-fonts-recommended
texlive-latex-base
texlive-latex-recommended
texlive
tetex-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
debian:~#
So it's a fmtutil error.
By looking into "/tmp/fmtutil.ncnS9370" and googling, I found this;
but it does not work anyway:
Code:
debian:~# dpkg -i --force-confmiss /var/cache/apt/archives/texlive-base-bin_2007-12_i386.deb
(Reading database ... 141861 files and directories currently installed.)
Preparing to replace texlive-base-bin 2007-12 (using .../texlive-base-bin_2007-12_i386.deb) ...
Unpacking replacement texlive-base-bin ...
Setting up texlive-base-bin (2007-12) ...
Running mktexlsr. This may take some time... done.
Building format(s) --all.
This may take some time...
fmtutil-sys failed. Output has been stored in
/tmp/fmtutil.eOg10862
Please include this file if you report a bug.
dpkg: error processing texlive-base-bin (--install):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
texlive-base-bin
debian:~#
Any advice?
Thanks
I would just remove the packages here it does not seem to want to take a whole hell of a lot with it when doing so.
Code:
apt-get -s remove texlive-base-bin texlive
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package texlive is not installed, so not removed
The following packages were automatically installed and are no longer required:
libkpathsea4 (2007-12)
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
kdegraphics (3.5.7-2)
kdvi (3.5.7-2)
texlive-base (2007-10)
texlive-base-bin (2007-12)
texlive-fonts-recommended (2007-10)
0 upgraded, 0 newly installed, 5 to remove and 1 not upgraded.
Remv kdegraphics [4:3.5.7-2]
Remv kdvi [4:3.5.7-2]
Remv texlive-fonts-recommended [2007-10]
Remv texlive-base [2007-10]
Remv texlive-base-bin [2007-12]
If you want you can use apt-get -s remove texlive-base-bin texlive > removals.txt to get a list of the removed packages then simply reinstall later.
Thanks a lot.
I uninstalled everything related to tetex, so I could complete a dist-upgrade.
Now texlive replaces tetex, so I will install texlive as soon as I can.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.