tacubuntuforums
January 6th, 2007, 12:29 AM
Hello:
I need help urgently.
Desperately, I'm writing here, though my problem is in a debian system installation.
I was updating packages (stable version) but my usual source is not working. I changed the sources list to a foreign one (in UK). Since my package firefox1.5 was not there I added a testing source so that the sources.list was like this:
deb http://security.debian.org/ stable/updates main contrib
deb http://ftp.uk.debian.org/debian/ stable main contrib
deb http://ftp.uk.debian.org/debian/ testing main contrib
Using aptitude interactively, I choosed the desired package for upgrade. Everything seemed to be ok and it was a small upgrade. I pressed 'g' wchich means to accept the selected changes and I saw a large list of packages to be deleted. It seemed strange, but since I was tired and wanted to finish quickly I just pressed 'g' again which means to start making the downloads and deletions presented.
I could believe it when I saw that it was going to take 15 minutes (1Mb ADSL) and when I started to see the large list of packages being downloaded. At almost the end of the process, I'm asked if I want to remove the kernel ( a dangerous operation). Of course I answered no. The process stoped asking me to press ENTER to continue. Thats when I started to read all what was going on. A large list of packages deleted.. I can't believe it WHY??
Here is the ouput of the process. Maybe I can make also list of the new packages from the cache.
SO, MY QUESTION IS WHAT CAN I DO??
CAN I DO SOMETHING TO RECOVER THE SITUATION BEFORE PRESSING 'ENTER' OR BEFORE REBOOTING ??
sudo aptitude
Preconfiguring packages ...
(Reading database ... 75404 files and directories currently installed.)
Removing kdemultimedia ...
Removing akode ...
Removing kdeutils ...
Removing ark ...
Removing kde-core ...
Removing arts ...
Removing noatun ...
Removing krec ...
Removing artsbuilder ...
Removing base-config ...
Removing gnome-desktop-environment ...
Removing gnome-core ...
Removing bug-buddy ...
Removing file-roller ...
Removing bzip2 ...
Removing nautilus-media ...
Removing gnome-applets ...
Removing gdm ...
Removing gnome-terminal ...
Removing nautilus ...
Removing nautilus-cd-burner ...
Removing cdrecord ...
Removing totem ...
Removing totem-xine ...
Removing gnome-volume-manager ...
Removing pmount ...
Removing libnautilus-burn0 ...
Removing hal ...
Removing libhal-storage0 ...
Removing libhal0 ...
Removing dbus-glib-1 ...
Removing dbus-1 ...
Stopping system message bus: dbus-1.
Removing kdenetwork ...
Removing dcoprss ...
Removing gnome-panel-data ...
Removing gnome-panel ...
Removing gnome-session ...
Removing gnome-control-center ...
Removing capplets ...
Removing capplets-data ...
Removing desktop-base ...
Selecting previously deselected package tzdata.
(Reading database ... 72269 files and directories currently installed.)
Unpacking tzdata (from .../tzdata_2006p-1_all.deb) ...
Replacing files in old package libc6 ...
(Reading database ... 72296 files and directories currently installed.)
Removing kernel-image-2.6.8-2-386 ...
You are running a kernel (version 2.6.8-2-386) and attempting to remove
the same version. This is a potentially disastrous action. Not only
will /boot/vmlinuz-2.6.8-2-386 be removed, making it impossible to boot
it, (you will have to take action to change your boot loader to boot
a new kernel), it will also remove all modules under the directory
/lib/modules/2.6.8-2-386. Just having a copy of the kernel image is not
enough, you will have to replace the modules too.
I repeat, this is very dangerous. If at all in doubt, answer
no. If you know exactly what you are doing, and are prepared to
hose your system, then answer Yes.
Remove the running kernel image (not recommended) [No]? no
dpkg: error processing kernel-image-2.6.8-2-386 (--remove):
subprocess pre-removal script returned error exit status 1
dpkg: initrd-tools: dependency problems, but removing anyway as you request:
kernel-image-2.6.8-2-386 depends on initrd-tools (>= 0.1.63).
Removing initrd-tools ...
Errors were encountered while processing:
kernel-image-2.6.8-2-386
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ack! Something bad happened while installing packages. Trying to recover:
Setting up tzdata (2006p-1) ...
Current default timezone: 'Europe/Madrid'.
Local time is now: Fri Jan 5 23:32:12 CET 2007.
Universal Time is now: Fri Jan 5 22:32:12 UTC 2007.
Run 'tzconfig' if you wish to change it.
Press return to continue.
I am starting to see that a few items in the desktop menus are being changed.
I'll be here waiting for your help.
Thank you.
I need help urgently.
Desperately, I'm writing here, though my problem is in a debian system installation.
I was updating packages (stable version) but my usual source is not working. I changed the sources list to a foreign one (in UK). Since my package firefox1.5 was not there I added a testing source so that the sources.list was like this:
deb http://security.debian.org/ stable/updates main contrib
deb http://ftp.uk.debian.org/debian/ stable main contrib
deb http://ftp.uk.debian.org/debian/ testing main contrib
Using aptitude interactively, I choosed the desired package for upgrade. Everything seemed to be ok and it was a small upgrade. I pressed 'g' wchich means to accept the selected changes and I saw a large list of packages to be deleted. It seemed strange, but since I was tired and wanted to finish quickly I just pressed 'g' again which means to start making the downloads and deletions presented.
I could believe it when I saw that it was going to take 15 minutes (1Mb ADSL) and when I started to see the large list of packages being downloaded. At almost the end of the process, I'm asked if I want to remove the kernel ( a dangerous operation). Of course I answered no. The process stoped asking me to press ENTER to continue. Thats when I started to read all what was going on. A large list of packages deleted.. I can't believe it WHY??
Here is the ouput of the process. Maybe I can make also list of the new packages from the cache.
SO, MY QUESTION IS WHAT CAN I DO??
CAN I DO SOMETHING TO RECOVER THE SITUATION BEFORE PRESSING 'ENTER' OR BEFORE REBOOTING ??
sudo aptitude
Preconfiguring packages ...
(Reading database ... 75404 files and directories currently installed.)
Removing kdemultimedia ...
Removing akode ...
Removing kdeutils ...
Removing ark ...
Removing kde-core ...
Removing arts ...
Removing noatun ...
Removing krec ...
Removing artsbuilder ...
Removing base-config ...
Removing gnome-desktop-environment ...
Removing gnome-core ...
Removing bug-buddy ...
Removing file-roller ...
Removing bzip2 ...
Removing nautilus-media ...
Removing gnome-applets ...
Removing gdm ...
Removing gnome-terminal ...
Removing nautilus ...
Removing nautilus-cd-burner ...
Removing cdrecord ...
Removing totem ...
Removing totem-xine ...
Removing gnome-volume-manager ...
Removing pmount ...
Removing libnautilus-burn0 ...
Removing hal ...
Removing libhal-storage0 ...
Removing libhal0 ...
Removing dbus-glib-1 ...
Removing dbus-1 ...
Stopping system message bus: dbus-1.
Removing kdenetwork ...
Removing dcoprss ...
Removing gnome-panel-data ...
Removing gnome-panel ...
Removing gnome-session ...
Removing gnome-control-center ...
Removing capplets ...
Removing capplets-data ...
Removing desktop-base ...
Selecting previously deselected package tzdata.
(Reading database ... 72269 files and directories currently installed.)
Unpacking tzdata (from .../tzdata_2006p-1_all.deb) ...
Replacing files in old package libc6 ...
(Reading database ... 72296 files and directories currently installed.)
Removing kernel-image-2.6.8-2-386 ...
You are running a kernel (version 2.6.8-2-386) and attempting to remove
the same version. This is a potentially disastrous action. Not only
will /boot/vmlinuz-2.6.8-2-386 be removed, making it impossible to boot
it, (you will have to take action to change your boot loader to boot
a new kernel), it will also remove all modules under the directory
/lib/modules/2.6.8-2-386. Just having a copy of the kernel image is not
enough, you will have to replace the modules too.
I repeat, this is very dangerous. If at all in doubt, answer
no. If you know exactly what you are doing, and are prepared to
hose your system, then answer Yes.
Remove the running kernel image (not recommended) [No]? no
dpkg: error processing kernel-image-2.6.8-2-386 (--remove):
subprocess pre-removal script returned error exit status 1
dpkg: initrd-tools: dependency problems, but removing anyway as you request:
kernel-image-2.6.8-2-386 depends on initrd-tools (>= 0.1.63).
Removing initrd-tools ...
Errors were encountered while processing:
kernel-image-2.6.8-2-386
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ack! Something bad happened while installing packages. Trying to recover:
Setting up tzdata (2006p-1) ...
Current default timezone: 'Europe/Madrid'.
Local time is now: Fri Jan 5 23:32:12 CET 2007.
Universal Time is now: Fri Jan 5 22:32:12 UTC 2007.
Run 'tzconfig' if you wish to change it.
Press return to continue.
I am starting to see that a few items in the desktop menus are being changed.
I'll be here waiting for your help.
Thank you.