apt-get upgrade and some other apt options won't work September 21, 2010 05:19AM |
Registered: 14 years ago Posts: 43 |
debian:~$ apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded: apt apt-utils debian-archive-keyring dpkg initramfs-tools klibc-utils libavahi-client3 libavahi-common-data libavahi-common3 libavcodec52 libavformat52 libavutil49 libc-bin libc6 libcups2 libdb4.8 libfltk1.1 libklibc libldap-2.4-2 liblzma2 libmpg123-0 libpam-modules libpam-runtime libpam0g libsasl2-2 libsqlite3-0 libusb-0.1-4 linux-base linux-image-2.6.32-5-kirkwood login mpg123 passwd ucf wget x11-common xz-utils 36 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/42.5MB of archives. After this operation, 664kB of additional disk space will be used. Do you want to continue [Y/n]? Y Extracting templates from packages: 100% Preconfiguring packages ... dpkg: warning: 'update-rc.d' not found in PATH or not executable. dpkg: 1 expected program(s) not found in PATH or not executable. NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin. E: Sub-process /usr/bin/dpkg returned an error code (2)
debian:~$ apt-get install dnsutils Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: bind9-host libbind9-60 libdns66 libgeoip1 libisc60 libisccc60 libisccfg60 liblwres60 libxml2 Suggested packages: rblcheck geoip-bin Recommended packages: geoip-database xml-core The following NEW packages will be installed: bind9-host dnsutils libbind9-60 libdns66 libgeoip1 libisc60 libisccc60 libisccfg60 liblwres60 libxml2 0 upgraded, 10 newly installed, 0 to remove and 36 not upgraded. Need to get 0B/2153kB of archives. After this operation, 4882kB of additional disk space will be used. Do you want to continue [Y/n]? Y dpkg: warning: 'update-rc.d' not found in PATH or not executable. dpkg: 1 expected program(s) not found in PATH or not executable. NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin. E: Sub-process /usr/bin/dpkg returned an error code (2)
Re: apt-get upgrade and some other apt options won't work September 21, 2010 07:01AM |
Registered: 14 years ago Posts: 107 |
Re: apt-get upgrade and some other apt options won't work September 21, 2010 08:10AM |
Registered: 14 years ago Posts: 43 |
debian:~$ cat /etc/apt/sources.list deb http://ftp.de.debian.org/debian squeeze main
debian:~$ apt-cache policy dpkg dpkg: Installed: 1.15.7.2 Candidate: 1.15.8.4 Version table: 1.15.8.4 0 500 http://ftp.de.debian.org squeeze/main Packages *** 1.15.7.2 0 100 /var/lib/dpkg/status
Re: apt-get upgrade and some other apt options won't work September 21, 2010 10:01AM |
Registered: 14 years ago Posts: 107 |
Re: apt-get upgrade and some other apt options won't work September 21, 2010 11:01AM |
Registered: 14 years ago Posts: 43 |
Cyrrel
Re: apt-get upgrade and some other apt options won't work September 22, 2010 11:12AM |
Re: apt-get upgrade and some other apt options won't work September 22, 2010 11:40AM |
Registered: 14 years ago Posts: 107 |
Cyrrel
Re: apt-get upgrade and some other apt options won't work September 22, 2010 11:46AM |
Re: apt-get upgrade and some other apt options won't work September 22, 2010 04:57PM |
Registered: 14 years ago Posts: 35 |
/mnt/usr/bin/mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-2.6.32-5 -d /mnt/boot/vmlinuz-2.6.32-5-kirkwood /mnt/boot/uImage /mnt/usr/bin/mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs -d /mnt/boot/initrd.img-2.6.32-5-kirkwood /mnt/boot/uInitrd(cf. Jeff's installation script).
H.Humpel
Re: apt-get upgrade and some other apt options won't work September 23, 2010 02:03PM |
Quote
hkramski
Recovery is simple though: Just boot the original
Pogo Linux, mount /dev/sda1 on /mnt and do a
> /mnt/usr/bin/mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-2.6.32-5 -d /mnt/boot/vmlinuz-2.6.32-5-kirkwood
> /mnt/boot/uImage /mnt/usr/bin/mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs -d /mnt/boot/initrd.img-2.6.32-5-kirkwood /mnt/boot/uInitrd
tacoguy
Re: apt-get upgrade and some other apt options won't work September 24, 2010 09:43AM |
Re: apt-get upgrade and some other apt options won't work September 24, 2010 06:04PM |
Registered: 14 years ago Posts: 6 |
Re: apt-get upgrade and some other apt options won't work September 26, 2010 04:06PM |
Registered: 14 years ago Posts: 33 |
Re: apt-get upgrade and some other apt options won't work September 26, 2010 04:23PM |
Registered: 14 years ago Posts: 6 |
Re: apt-get upgrade and some other apt options won't work September 26, 2010 05:07PM |
Registered: 14 years ago Posts: 33 |
Sebastian
Re: apt-get upgrade and some other apt options won't work September 26, 2010 05:16PM |
Re: apt-get upgrade and some other apt options won't work September 28, 2010 05:14AM |
Registered: 14 years ago Posts: 43 |
H.Humpel
Re: apt-get upgrade and some other apt options won't work October 01, 2010 04:56AM |
[ 8.961171] sda:Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. sda1 sda2 [ 13.191897] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 13.198050] sd 0:0:0:0: [sda] Attached SCSI disk Begin: Running /scripts/local-premount ... done. [ 13.490673] EXT2-fs: sda1: couldn't mount because of unsupported optional fe. mount: Invalid argument Begin: Running /scripts/local-bottom ... done. done. Begin: Running /scripts/init-bottom ... mount: No such file or directory done. mount: No such file or directory mount: No such file or directory Target filesystem doesn't have requested /sbin/init. No init found. Try passing init= bootarg. (initramfs)
H.Humpel
Re: apt-get upgrade and some other apt options won't work October 02, 2010 04:59AM |
What is an "unsupported optional fe." ???
H.Humpel
Re: apt-get upgrade and some other apt options won't work October 04, 2010 07:40AM |
Re: apt-get upgrade and some other apt options won't work October 04, 2010 08:30AM |
Registered: 14 years ago Posts: 50 |
Quote
H.Humpel
Looks like the new initramfs had an error (as the other files in the boot dir had the same size on both systems).
Re: apt-get upgrade and some other apt options won't work October 05, 2010 03:30PM |
Registered: 14 years ago Posts: 15 |