-
Senior Member
registered user
Apt-Get Upgrade Issues... (resolved)
I did an apt-get upgrade, after more than two days of d/l'ing, the scripts started to run, and when it hit an reading/unpacking/installing a package called "joe" it crashed the whole thing.
When I thought things were ok on the situation, I found some of the games I had previously, like Chromium, they don't exist on my KMenu anymore. Figuring that something has "seriously" had a problem, I tried a apt-get update, followed by another apt-get upgrade - hopefully to correct the error that happened with the install of "joe", this is what pops up after the command:
root@Linux:~# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages have been kept back
abiword abiword-common apache apt-show-versions autotrace base-config bind9
console-tools cpp debconf debconf-utils dialog dnsutils dump dvgrab
e2fsprogs efax-gtk enigma ethereal ethereal-common ettercap file fontconfig
foomatic-filters fortune-mod frozen-bubble frozen-bubble-data g++ gcc
gphoto2 gsm-utils jpilot-backup k3b kamera karbon kchart kdebase
kdebase-data kdepim kformula kivio koffice-libs konq-plugins koshell kpilot
kpresenter kspread ksysguard ksysguardd kugar kuickshow kword libautotrace3
libdbd-mysql-perl libgdbmg1 libgphoto2-2 libhtml-parser-perl libisccc0
libisccfg0 libjcode-pm-perl libkrb53 libnspr4 libnss3 libperl5.8 libruby
libsane libsasl-dev libsasl7 libsdl-perl libsmbclient libxft2 man-db mgp
mindi mknbi mondo mozilla mozilla-browser mozilla-locale-de-at
mozilla-mailnews mozilla-psm mozilla-xft nessus-plugins netpbm nis perl
perl-base perl-modules php4 php4-mysql po-debconf python python-imaging
python-tk python2.2 python2.2-tk reportbug rfb ruby samba samba-common
screen sketch smbclient smbfs tasksel testdisk tetex-extra wvdial xchat
xchat-common xmms-modplug
The following packages will be upgraded
aalib-bin aalib1 alevt autofs automake1.7 base-passwd bochs bochs-wx bochs-x
bochsbios brltty cdbackup cdrdao colorgcc comerr-dev coreutils debootstrap
deborphan devscripts dict dillo enscript ethtool fakeroot fb-music-high
fbset fdutils fileutils foomatic-bin foomatic-db-engine ftape-util ftpd grep
gscanbus gsfonts gv host hostname hping2 ibod imagemagick ipppd iptraf
isapnptools isdnactivecards isdnlog isdnlog-data isdnutils isdnutils-base
isdnutils-xtools isdnvboxclient isdnvboxserver joe jpilot jpilot-mail
jpilot-plugins kalarm kandy kappfinder karm kasteroids kate kate-plugins
kbattleship kbounce kcalc kcharselect kcmlinuz kcoloredit kcontrol kcron
kdat kde-i18n-cs kde-i18n-da kde-i18n-de kde-i18n-es kde-i18n-fr kde-i18n-it
kde-i18n-ja kde-i18n-nl kde-i18n-pl kde-i18n-ru kde-i18n-tr
kdeaddons-kfile-plugins kdeadmin-kfile-plugins kdebase-bin
kdebase-kio-plugins kdegraphics-kfile-plugins kdemultimedia-kfile-plugins
kdenetwork-kfile-plugins kdepasswd kdepim-kfile-plugins kdeprint kdesktop
kdessh kdf kdm kdvi kedit kernel-package kfax kfind kfloppy kgeo kget
kghostview kgpgcertmanager khelpcenter khexedit kicker kiconedit kismet
kjots klaptopdaemon klipper kmahjongg kmail kmailcvt kmenuedit kmix kmrml
knotes koffice-i18n-de kompare konqueror konqueror-nsplugins konsole kooka
korganizer kpackage kpager kpaint kpersonalizer kpf kppp krdc kreversi krfb
kruler kscd ksmserver ksnapshot ksokoban ksplash kstars ksync ksysv kteatime
ktimer ktip kudzu kudzu-dev kuser kview kviewshell kwin kxconfig larswm lde
lesstif1 lftp libaudio-dev libavc1394-0 libbonoboui2-common libcapi20-2
libdate-manip-perl libdvdread2 libfontconfig1 libfontconfig1-dev
libgcj-common libgd-gif1 libglide2 libglide3 libgnomecanvas2-common
libgphoto2-port0 libgtkxmhtml1 libhtml-tagset-perl libhtml-tree-perl
libid3-3.8.3 libid3tag0 libieee1284-3 libjcode-perl libjpeg-progs
libkdegames1 libkdenetwork2 libkonq4 libkpathsea3 libkscan1 libldap2
liblinc1 liblircclient0 libltdl3 liblua40 liblualib40 libmagick5.5.7
libmimelib1 libmysqlclient12 libnasl2 libnessus2 libntfs4 libogg-dev libogg0
libpango1.0-0 libpango1.0-common libparted1.6-0 libpisock++0 libpisock8
libpopt-dev libpopt0 libqt3-i18n libraw1394-5 libsasl2 libsdl-console
libsdl-gfx1.2 libsdl-image1.2 libsdl-mixer1.2 libsdl-net1.2 libsdl-ttf2.0-0
libslp1 libspeex1 libssl0.9.6 libtool libttf2 libusb-0.1-4 libusb-dev
libvorbis-dev libvorbis0a libvorbisenc2 libvorbisfile3 libwine libwine-print
libwine-twain libwmf-bin libwmf0.2-7 libwraster2 libwww-perl libwxgtk2.4
libxdelta2 libxine1 libxml2 libxrender-dev libxrender1 libzvbi-common
libzvbi0 linux-wlan-ng lisa loadlin lvm-common lvm10 lzop mc mdadm mikmod
minicom mutt mysql-client mysql-common mysql-server nasm nessus nessusd
netcat netpipe-tcp netpipes netris nfs-kernel-server nmap ntfstools ntpdate
nvtv partimage partimage-server pciutils pciutils-dev pia pilot-link
playmidi pnm2ppa ppmd ppmtofb pppconfig pppdcapiplugin pppoe pppoeconf
pptp-linux psfontmgr psmisc pump python2.2-imaging qcad raidtools2 rdesktop
reiserfsprogs rsync s3switch sane sash scantv scotty secpolicy selflinux
shaper shellutils slrn smpeg-gtv smpeg-plaympeg smpeg-xmms sndconfig
sodipodi speex squid stunnel sudo svgalibg1 tcpdump tetex-bin textutils
thttpd tix8.1 trans-de-en transfig ttmkfdir unzip urlview usbutils user-de
uudeview vcdtools vgabios vim vim-gtk wavemon wget whois wine wine-utils
winesetuptk wireless-tools wmaker wmakerconf wmakerconf-data wordtrans-data
x-ttcidfont-conf xaos xawtv xawtv-plugins xboard xdelta
xfonts-bolkhov-cp1251-75dpi xfonts-bolkhov-cp1251-misc xfonts-konsole
xfonts-terminus xfsdump xfsprogs xgalaga xine-ui xkbset xloadimage xmms
xmms-cdread xmms-crossfade xmms-goom xpdf xpdf-common xpdf-reader xpdf-utils
xtel xzoom zile zip zlib1g zlib1g-dev
372 upgraded, 0 newly installed, 0 to remove and 112 not upgraded.
291 not fully installed or removed.
Need to get 30.8MB/194MB of archives.
After unpacking 25.8MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Now, I am doing - yet another - upgrade - my concern, one with ALL the packages that show up as HELD BACK, with all the packages showing up under UPGRADE - again - and the question I answered - 372 upgraded, 291 NOT FULLY INSTALLED OR REMOVED ???
The 291 issue must be all the packages that follow the install of JOE, am I going to have to go through all of this again, if, god forbid, JOE dies again??? Is this all going to "clear itself up" ???
Thanks for any answers...
Cuddles
-
Senior Member
registered user
This "joe" thing is ticking me off now - It died AGAIN - on this Joe thing ??????
apt-get upgrade yelped as such:
Preparing to replace joe 2.8-21 (using .../archives/joe_2.8-23_i386.deb) ...
Unpacking replacement joe ...
/var/lib/dpkg/info/joe.postrm: line 3: /usr/bin/update-menus: Permission denied
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/postrm: line 3: /usr/bin/update-menus: Permission denied
dpkg: error processing /var/cache/apt/archives/joe_2.8-23_i386.deb (--unpack):
subprocess new post-removal script returned error exit status 1
/var/lib/dpkg/tmp.ci/postrm: line 3: /usr/bin/update-menus: Permission denied
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 1
Preparing to replace libcapi20-2 1:3.3-4 (using .../libcapi20-2_1%3a3.3-7_i386.deb) ...
Unpacking replacement libcapi20-2 ...
Preparing to replace pppdcapiplugin 1:3.3-4 (using .../pppdcapiplugin_1%3a3.3-7_i386.deb) ...
Unpacking replacement pppdcapiplugin ...
Preparing to replace grep 2.5.1-6 (using .../grep_2.5.1.ds1-2_i386.deb) ...
Unpacking replacement grep ...
Errors were encountered while processing:
/var/cache/apt/archives/joe_2.8-23_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
What in the world is this JOE ? Why does it keep crashing my UPGRADE, and how the heck can I get through a complete upgrade if this same thing keeps happening? Shesh. Why is "JOE" so important, and why can't I get past it? Does "joe" do something like keep my kernel from crashing or something, cause it doesn't seem to be doing anything EXCEPT making my system crash.
help -=- Help -=- HELP -=- H E L P -=- Please,
Cuddles
-
Hi,
It looks like a problem I had with kdelibs-data and libxcursor-dev.
You can search the forum for solution on those.
Translated it would be:
Code:
cd /var/cache/apt/archives/
dpkg -i --force-overwrite joe_2.8-23_i386.deb
After that you should be able to upgrade
-
And Joe is just a simple text editor as far as I know...nothing special at all.
"apt-get -f install" might fix it too...I don't know...try what he said first.
-
I almost deserve a bunny with a pancake on his head
And Joe is just a simple text editor as far as I know...nothing special at all.
...sounds a bit simpler.
-
Senior Member
registered user
All the kings horses, and all the kings men, couldn't figure out why JOE is being a pain in the rump....
Output Follows:
root@Linux:/var/cache/apt/archives# dpkg -i --force-overwrite joe_2.8-23_i386.deb
(Reading database ... 110975 files and directories currently installed.)
Preparing to replace joe 2.8-21 (using joe_2.8-23_i386.deb) ...
Unpacking replacement joe ...
/var/lib/dpkg/info/joe.postrm: line 3: /usr/bin/update-menus: Permission denied
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/postrm: line 3: /usr/bin/update-menus: Permission denied
dpkg: error processing joe_2.8-23_i386.deb (--install):
subprocess new post-removal script returned error exit status 1
/var/lib/dpkg/tmp.ci/postrm: line 3: /usr/bin/update-menus: Permission denied
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
joe_2.8-23_i386.deb
root@Linux:/var/cache/apt/archives# apt-get remove joe
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
joe
0 upgraded, 0 newly installed, 1 to remove and 424 not upgraded.
306 not fully installed or removed.
Need to get 0B of archives.
After unpacking 406kB disk space will be freed.
Do you want to continue? [Y/n] y
dpkg: error processing joe (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
joe
E: Sub-process /usr/bin/dpkg returned an error code (1)
JOE is not HAPPY (and it appears its enough to piss the whole system off)
Cuddles
Any clues?
-
Hmmm...apt-get -f install usually fixes my woes. If you reinstall it and remove it again you should probably also use the --purge tag. You'll get it fixed eventually.
-
Senior Member
registered user
ARGGGGGGGGGGHHHHHHHHHH,
How do I just blow JOE out of the water?????? dpkg isnt doing anything but crashing, remove just crashes, apt-get just crashes - how the heck can I just get through this JOE problem and get on with my UPGRADE ????? My menus aren't getting any better with all of this, I am even getting GNOME errors during booting now... This JOE needs to blow, period.
Cuddles
-
Senior Member
registered user
Originally Posted by
Cuddles
ARGGGGGGGGGGHHHHHHHHHH,
How do I just blow JOE out of the water?????? dpkg isnt doing anything but crashing, remove just crashes, apt-get just crashes - how the heck can I just get through this JOE problem and get on with my UPGRADE ????? My menus aren't getting any better with all of this, I am even getting GNOME errors during booting now... This JOE needs to blow, period.
Cuddles
Edit the file /var/lib/dpkg/info/joe.postrm and the line 3 that it is failing on insert the # (comment character) at the start of the line. Then apt-get install --reinstall joe to have it hopefully install properly if succesful then remove the damn thing if not then put exit 0 as the second line in the file this will cause the script file to exit immediatley with a succees (no error) code. Before you try to update any more packages you should run the update-menus as root to hopefully fix your menus and start removing all the excess programs that are in your install to save yourself the time and effort you are going through for programs that you will never use. Once you get joe removed you should use dselect update to get both the apt and dselect databases back in sync. The first thing you should do however is install 1 package apt-get install localepurge to get rid of all the locales that are on the system and one of them is going to cause the same error you are getting with joe they have just not been regenerated yet. When you install the localepurge you will get a screen asking for the locales you want to remain on the system unless you want others besides the US ones you should keep only the en, en_US ISO-8859-1,en_US.ISO-8859-15 and en_US.UTF-8 UTF-8 then edit the file /etc/locale.gen and make sure it looks like this:
Code:
# This file lists locales that you wish to have built. You can find a list
# of valid supported locales at /usr/share/i18n/SUPPORTED. Other
# combinations are possible, but may not be well tested. If you change
# this file, you need to rerun locale-gen.
#
# XXX GENERATED XXX
#
# NOTE!!! If you change this file by hand, and want to continue
# maintaining manually, remove the above line. Otherwise, use the command
# "dpkg-reconfigure locales" to manipulate this file. You can manually
# change this file without affecting the use of debconf, however, since it
# does read in your changes.
en_US ISO-8859-1
en_US.ISO-8859-15 ISO-8859-15
en_US.UTF-8 UTF-8
### BEGIN DEBCONF SECTION FOR localeconf
# Do not edit within this region if you want your changes to be preserved
# by debconf. Instead, make changes before the "### BEGIN DEBCONF SECTION
# FOR localeconf" line, and/or after the "### END DEBCONF SECTION FOR
# localeconf" line.
### END DEBCONF SECTION FOR localeconf
These will be the locales that will be regenerated when the locale package is upgraded and unless you edit out the knoppix extras in there they will be regenerated along with taking a long to to do this there are ususally at least a couple of locales with error that will stop apt in its tracks with errors. The program will also ask you if you want to remove the man pages in the other languages that you do not want on the system as well you should say yes here and say no to the verbose output of what it is doing and as to whether you want an accurate or guesstimate count of what was removed that is up to you choose whichever you want.
Suggested removals:
apt-get -s remove --purge kde-i18n-cs kde-i18n-da kde-i18n-de kde-i18n-es kde-i18n-fr kde-i18n-it
kde-i18n-ja kde-i18n-nl kde-i18n-pl kde-i18n-ru kde-i18n-tr
To get rid of the localizations for KDE that you will most likely never use, remove the -s to for the simulation of the command if the output looks good to do the removal and purge of the configuration files.
If you need anymore suggestion of the packages to remove I can see all kinds of them in your output above so ask if you do. And before you start installing anything you should go to this page and get the libsensors-1debian1 and save it somewhere where you can acces it before you run into that bug it will happen with the ksysguardd package and the suggestion for the libxcursor-dev above will be needed if you run into that bug as well.
-
Senior Member
registered user
Stephen, Thank you.
I guess I am getting ansie, and a little more frustrated at all of this. I was so amazed at Knoppix/Debian for having such a wonderful way of updating - Windows isn't as intelegent as this is, but it is a lot more simpler, and a little more goof-proof.
I just found out my new computer will be coming home on Friday, so I think I am just going to live with this for a few more days, and when the new system comes home, scrub this drive and system.
Any words of advice on the new system install?
I plan on using the Knoppix 3.2 Live CD that I used for this system to get on the HD of the new system. The new system will also have a real USB "standard" modem, and not this WinModem, so access and setup of the new system getting to the internet should be without problems.
The new system is going to have the DVD and CD-RW from this system moved to it also. Maybe before I do my first apt-get [anything] - I should have a clue how to clean things up from the HD Install first????? Maybe then, I can clear issues before it gets to this stage.
Any advice on the situation, I will copy paste the information into a document, and save it on a floppy to read and follow along with after the new system gets its OS installed.
Thank you for your help, I wish I didn't bugger this install as much as I have.
Cuddles
Similar Threads
-
By GStoll in forum General Support
Replies: 2
Last Post: 12-03-2004, 04:02 AM
-
By Durand Hicks in forum General Support
Replies: 4
Last Post: 03-13-2004, 08:40 AM
-
By Cuddles in forum Hdd Install / Debian / Apt
Replies: 17
Last Post: 01-20-2004, 04:30 PM
-
By Cuddles in forum General Support
Replies: 4
Last Post: 01-03-2004, 03:18 AM
-
By vesselinpeev in forum General Support
Replies: 0
Last Post: 05-26-2003, 09:03 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Supermicro 4U 36 Bay Storage Server 2.2Ghz 16-C 128GB 1x1280W Rails TrueNAS ZFS
$725.06
H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W
$2612.18
HP ProLiant DL360 G9 Server | 2 x E5-2660V3 2.6Ghz | 64GB | 2 x 900GB SAS HDD
$339.00
CSE-118 Supermicro 1U GPU Server 2.6Ghz 28-C 128GB 2x Nvidia K40 GPU 2x1600W PSU
$580.03
DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45
$274.00
Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD
$389.99
HP Proliant DL360 Gen9 28 Core SFF Server 2X E5-2680 V4 16GB RAM P440ar No HDD
$196.95
Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB
$510.00
HP ProLiant DL380 Gen9 16SFF 2x E5-2680v4 2.4GHz =28 Cores 64GB P840 4xRJ45
$353.00
Dell Poweredge R730xd 2.5in 2x E5-2690 v3 2.6ghz 24-Cores 64gb H730 2x 750w
$189.99