Ubuntu :: Sudo Apt-Get Upgrade Hangs At Testdisk
Jun 17, 2011
I started with
Code:
sudo apt-get install testdisk
It hung so I hit Ctrl-Z then ps -a and found the process and
Code:
sudo kill -9 PID
I went and deleted the lock file in /var/lib/dpkg/ on the install and ran
Code:
sudo dpkg --configure -a
I rebooted and it is still hanging when I do a sudo apt-get upgrade it still hangs at testdisk:
Code:
Preconfiguring packages ...
(Reading database ...
dpkg: warning: files list file for package `testdisk' missing, assuming package has no files currently installed.
(Reading database ... 159122 files and directories currently installed.)
Preparing to replace testdisk 6.11-1 (using .../testdisk_6.11-1_i386.deb) ...
Unpacking replacement testdisk ...
I tried to uninstall it via the package manager and it hangs there too. I'm in 10.10...and I think this is the only time I've had an install hang...
View 8 Replies
ADVERTISEMENT
Sep 16, 2010
A day ago I finally got around to upgrading the PackageKit installation that had been sitting for a week and a half, so I found a new upgrade for sudo available - the one that gives the sudoreplay command, I forget which version number it is exactly. When I try to use the sudo command I get this notice in my terminal:Code:Can't open /var/db/sudo/me/1: Permission deniedI didn't get it before. What do I have to do to make it open? I'm using SELinux in enforcing mode if that helps.
View 1 Replies
View Related
Apr 17, 2010
Merged with ndiswrapper troubleshooting thread
View 1 Replies
View Related
Mar 30, 2010
I'm now using Ubuntu 9.04 and I think of upgrading it to version 10.04 (when it shall be "stable").I'd like to know if I am supposed to modify /etc/apt/sources.list with the name of the new version even though I upgrade by "update-manager-core" with the command sudo do-release-upgrade
View 1 Replies
View Related
Jul 27, 2010
I have a server that started out at 8.04 LTS was upgraded to 8.10 and to 9.04. When I upgraded to 9.04 sudo and ssh stopped working.
Fortunately I have a root account and can login as root or su to root.
I suspect this is the result of changes I made to nsswitch.conf and pam.conf to get winbind working.
I was hoping for a fix by upgrading to 9.10, but that didn't work. I want to upgrade to 10.04 LTS, and stay there but I think need to resolve this first.
auth.log reports failed password for ssh attempts and authentication failed for sudo. I am at a loss to determine where the problem is and how to track it down.
View 3 Replies
View Related
Mar 4, 2011
When running sudo apt-get upgrade, the following error occurs.
Code:
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
View 1 Replies
View Related
Jan 18, 2011
The only thing I remember being updated is xserver, but I know there were other packages updated.
After the splash screen, a text login is shown. If I do nothing, it goes right to a black screen, but first there are weird red pixels randomly strewn about the screen. If I quickly login via the text screen, it then goes to the same black screen. Either way, there are the weird red pixels and a few flashes of the screen before going black.
This happens 100% of the time.
I have tried:
booting with recovery mode and selecting repair packages (no packages are broken, missing, etc.)
booting with recovery mode and selecting startx with failsafe (same black screen)
booting with older kernels (same thing)
View 5 Replies
View Related
Jan 27, 2011
forgive me for raising a common problem again, but I cannot find a fix in the other threads.
I am trying to catch up on upgrades. Step 1 is to get up to 9.10 from 9.04
Doing so however I am being told I don't have enough disk space
I present have my 35-odd GB HDD partitioned:
6GB for Ubuntu
28 for Data
and 1. or so for swap
evidently I underestimated my Ubuntu partition.
what can I do now?
I have run Computer Janitor (is that the application that results from Sudo apt-get clean? I did that but couldn't figure out how to "clean"?)
I have Gparted installed but I don't see how to use the Move/Resize option.
View 6 Replies
View Related
Apr 30, 2011
I was running 10.10 until this morning when I upgraded to 11.04.{Some minor grub complaints in the install but mainly due to me having customised the entries.}I rebooted and went to the new installation, it goes purple and says Ubuntu 11.04 with dots going across, then it hangs and goes to the background text and the last thing it says is "Checking Battery State.I'm on a desktop, so I'm sure the battery thing isn't an issue, it's probably something before or the next command that freezes it.
I booted into recovery mode repaired grub (no change) then went into failsafe graphics mode and it worked ok.My guess is that because failsafe graphics was ok, it might be to do with the graphics driver (ATI HD6970 fglrx driver) but I've no idea.
View 9 Replies
View Related
Aug 12, 2010
I was running Ubuntu 9.10 on my Toshiba A40 Laptop and decided to take the plunge and upgrade to 10.04. Everything seemed to go well until the Restart. Now it only gets to the Splash Screen (Purple Screen with "Ubuntu" and dots under it) and then there is a flash and the text becomes blocks briefly before going to a blank screen! It seems like it might be a video problem but...
View 1 Replies
View Related
Nov 27, 2010
Recently I decided to upgrade my 10.04 installation the lazy way, by clicking the upgrade button instead of a clean install (32bit). Now, I can only get into Ubuntu with the recovery mode. If I let the system boot the normal way, I end up at the login screen where I (correctly) enter my password and then nothing else happens. I can move the mouse, the clock ticks on, and I can even use the restart button, etc. But the login screen stays gray and does nothing else, so no desktop. With recovery-mode I can use the failsafeX option to get into the desktop, everything works fine there. And even though it calls it a low-graphics environment or so, everything looks normal, its even my native resolution of 1440x900.
My first idea was some driver issue for my Ati Radeon HD 2600 Mobility card, so I looked into that. I've checked/done the following:
- Installed the drivers manually (downloaded from AMD)
- Uninstalled those drivers
- Used aptitude to remove any fglrx things
- Installed Jockey
- Installed the drivers with Jockey
- Removed the drivers with Jockey (Ive read this is the cleanest option)
- "no drivers" at this point
- Use generic/default X config, make specific X config (both from the failsafe X boot thing)
Nothing worked at all, booting still only works with recovery option and then the low graphics mode. Otherwise, it will just "hang" on the login part. When I boot first recovery mode, and then pick the resume option, I'll see some errors near the end of the booting process.
I've seen 2 errors which might be related to my issue:
- "Unable to allocate crypto cipher with name [ecb(aes)]" (home is encrypted, and accessible with safe boot)
- BUG: CPU#1 stuck for 61s!
Now, the second error seems to "match" with hanging at login. I login, something is stuck and churns the CPU... and never gets unstuck, so login just hangs there. However, I can't find any information related to that stuck CPU thing. Only changing PIDs and other numbers/stack traces, no processname or any other name to work with. So I'm at a loss here.
Big dump of possibly interesting part of kern.log:
Code:
Nov 26 20:31:25 lexmortis-laptop kernel: [44.572381] BUG: unable to handle kernel NULL pointer dereference at 00000021
Nov 26 20:31:25 lexmortis-laptop kernel: [44.572386] IP: [<c027c1b0>] sysfs_delete_link+0x30/0x70
Nov 26 20:31:25 lexmortis-laptop kernel: [44.572397] *pdpt = 0000000035f29001 *pde = 0000000000000000 .....
Despite that with low graphics mode everything works, it seems to be a non-graphical issue here (stuck CPU on some process?). Unless I missed another option I can test for the graphics / drivers. ow I could find more info on stuck CPUs during boot?
View 1 Replies
View Related
Jun 4, 2011
I have a home file server that I am trying to upgrade to natty 11.04. It was running 10.04 and was behind on updates due to lack of an internet connection for several months. I didn't have any problems applying all updates (sudo aptitude update; sudo aptitude full-upgrade) and then upgrading to 10.10 (sudo do-release-upgrade). I applied all updates to 10.10 (sudo aptitude update; sudo aptitude full-upgrade) without any problems.
However I encountered problems trying to upgrade to 11.04.
Running:
Code:
Hangs indefinitely. I don't receive error messages, it just sits there. I have to escape from Screen and 'sudo screen -wipe' to try anything else.
I tried changing my repository list to point to a different mirror, but no change.
If I had error messages I would have more to go on, but at the moment I'm stuck.
View 1 Replies
View Related
Sep 15, 2010
The sudo upgrade of 2010-09-15 modified permissions on /var in my systems, both on 32 and 64 bit. (from 755 to 700) My subversion server stops working after the upgrade, you have to restore the old permissions by hand. I don't inspect how, but I've checked it few times...
View 5 Replies
View Related
Apr 19, 2010
I'm running Lucid, and after one apt-get upgrade I get hangs with the mysql package: Preparing to replace mysql-server-5.1 5.1.41-3ubuntu11 (using .../mysql-server-5.1_5.1.41-3ubuntu12_i386.deb) ... no matter what I do I can't get it to remove or install the mysql package. I've tried doing:
sudo dpkg --remove --force-remove-reinstreq mysql-server-5.1 but even that just hangs forever. I just want to remove the package so I can install the other updates
View 1 Replies
View Related
May 15, 2010
I was really enjoying the speediness of 9.10 on my HP Pavilion ze4900. Once I got the wireless driver loaded correctly, anyway. Tried to do an on-line upgrade to 10.04, but figured I should have had a hard-wired internet connection when I got installation messages that "Could not set up..." the network. But, installation continued without any other apparent issues. As soon as it rebooted at the end, the problem started. It hangs right after the ubuntu logo, with a completely blank screen.
My questions:
1) Can I get this to start booting properly?
2) If not, what would be the best way to retrieve my evolution mail files, so I can do a clean install? If I boot from a CD, will I be able to retrieve those files and maybe put them on a memory stick?
View 3 Replies
View Related
May 16, 2010
I recently went the upgrade route and something went wrong either with the download or the installation or 10.04 and my hardware are having issues. I am looking for some advice for either fixing what is wrong or getting some additional data backed up to USB before wiping the partition and starting new.
My computer is dual-boot using Grub2, the other OS being Windows Vista. I can get to Windows Vista fine via GRUB. When I select Ubuntu (says kernel 2.6.31-21) though I don't get very far.
At this point I can get 10.04 all the way to the user selection screen, where it immediately freezes, forcing a hard reset. I can boot into recovery mode, but if I select failsafeX it freezes at the first screen that comes up--the notice you are running in low res graphics mode.
When I did the upgrade from 9.10 to 10.04 I used the update tool in Ubuntu. However I also now have a 10.04 install CD.
My graphics cards are twin NVidia 9600s in SLI. I would say it is a graphics card problem since the first graphical screen that comes up both in regular boot (the login screen) and failsafeX (the notice screen) I get a hard lock. However booting off the CD it loads the desktop just fine!
I would just wipe clean however my last data backup was partial and there is some stuff I would like to go back in and get. However neither method I have used to try and go back in to get what I need has succeeded. I have a 320G USB drive I use for backing up certain data. If I boot using the CD, it gives me an error message about the isntaller then goes to desktop (which works fine, even though I can't get past the login screen when booting 10.04 from the hard drive) I can then plug in the USB drive fine and it shows up, but some of the files on the Ubuntu installation don't give me permission to copy them. There is an 'X' on the icon and I don't know whether there is a way to get me authenticated in order to copy them from the CD desktop.
Alternatively, I can get to a root prompt if I boot into recovery mode (not the CD, just recovery mode from GRUB). I assume I can move them from there and that the permissions issue won't be a problem but when I plug in the USB drive I don't get any errors but I am not seeing it show up in /media. Also if I put a DVD-RW (all I have on hand) into my DVD-RW drive maybe I could back the data up to that, but I'm not familiar with how to do that from the command line.
If I could get to a point where I could verify that I have this extra bit of data backed up then I wouldn't have any problem wiping the partition and starting over.
View 1 Replies
View Related
Nov 22, 2010
Just upgraded to 10.04 from 9.10. upgraded from update manager. System would not boot. Booted live cd and used the 9.10 menu.lst. Now boots but takes a long time. I don't know much about the kernel. I assume they are listed in the /boot directory and are called by menu.lst (dual boot w/ XP) (btw: I am ready to get rid of XP once I get this fixed). 9.10 appears to use 2.6.31-20-generic, therefore, I assume 10.04 uses 2.6.32-25-generic.
View 3 Replies
View Related
Jan 31, 2011
Every time I upgrade to the current beta releases (natty) the boot process hangs mostly because of nvidia desktop graphics problems. Luckily the system is still running and remote login to console prompt works too. Is there really no reliable way to reset the graphics (and the rest) to minimum configuration. I am really tired of having to try all the repair options to get the desktop running again. How can Linux ever become a reliable solution if everything takes hours to fix and not even the boot process stays the same from one version to the next.
View 4 Replies
View Related
Apr 30, 2011
I upgraded my laptop from 10.10 to 11.04 yesterday. On the reboot part of the installation and on all subsequent boots, the loader gets as far as the initial Ubuntu splash screen before switching to verbose mode and dying in interesting ways.
If I boot using wireless, the display flashes six times, then sometimes hangs around before reporting: iwlagn 0000:08:00.0: Aggregation not enabled for tid 0 because load = 4 (this number can be anything from 0 to 10)
If I boot using a network connection, I get the same splash screen and six flashes before the system hands, usually at the message: Stopping userspace bootslash [OK]
I am not keen on reinstalling from CD except as a last resort as I have a number of files that I do not want wiped.
View 4 Replies
View Related
Apr 30, 2010
I just upgraded my server from 9.10 to 10.04. I have ISPconfig installed on it and worked like a charm until the upgrade. Now when I point a browser to my site the page just hangs as if it is trying to load it but I never get an error nor does it load the page. I have tried to restart apache using /etc/init.d/apache2 restart in which I receive an fail error:
root@ubuntu:~# /etc/init.d/apache2 restart
* Restarting web server apache2 (9Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
[Code].....
After this I still get the same results when trying to load the page in the browser.
I cannot load anything in the www root or virtual host files.
View 4 Replies
View Related
May 5, 2010
The title's not especially clear, so I'll post a screenshot of what's happening. The upgrade keeps finding instances of the same kernel; the list in the terminal is constantly scrolling down, finding 'new' instances.
It's been doing this for about half an hour now. BTW, upgrading from 64bit 9.10 to 64bit 10.04.
View 1 Replies
View Related
May 15, 2010
In the last few weeks I upgraded my Ubuntu from 8.04 to 8.10 to 9.04. No problems, everything went well. But yesterday I tried to upgrade from 9.04 to 9.10. Everything seemed to go OK until the upgrade was finished and I had to reboot. After the reboot, no Ubuntu anymore... I get GRUB, but when I continue to boot the latest kernel, I don't see any harddisk activity anymore after about 2 seconds.
Here on the forums I read that one should run the boot_info_script when having boot problems, so I already did. I booted the system with a 8.04 live USB stick. And here is the result of the boot_info_script:
[Code]...
View 8 Replies
View Related
Sep 12, 2010
I just used Update Manager to upgrade to 10.4 and all I get is the Ubuntu logo screen with the dots and then the screen goes black and there's no other response. This happened after the upgrade completed installing and I received the message to restart the computer. I have never been able to get it to boot.
I can boot fine by selecting the next older kernal although I do get some messages that I don't understand. It all works so I presume it's OK. The kernal that was installed with the upgrade is 2.6.32-24-generic and I've seen other posts about boot problems with it. The laptop is dual boot with Windows XP and Windows boots normally. I saw a suggestion on another thread about booting into an older kernal and then issuing the sudo update-intramfs -u -k command. I tried it and it didn't help.
Next I tried 2.6.32-24-generic recovery mode and I tried the option to fix damaged packages. It seemed to do something although I saw error messages about not being able to find various software sources. I tried a normal boot afterwards and same problem. Recovery mode has another menu option about repairing grub but I don't want to try that. I'm not a power user and this is all over my head. Before I turn the laptop into an unusable door stop,
View 1 Replies
View Related
Apr 28, 2011
I just upgraded my stable 10.10 64-bit desktop edition VirtualBox guest to 11.04. Got no errors during the upgrade. When I try to boot into 11.04, it hangs on the boot screen where it says ubuntu with the 5 dots below that. There's no animation on this screen--I think the dots usually have a progressive animation?
I've attached a PNG screen shot of the hanging Ubuntu instance.
View 9 Replies
View Related
Dec 19, 2009
I have just upgraded my F11 x86_64 system using the DVD ISO.
After rebooting as requested:
1) Cupsd fails to start - it can't find libaudit.so.1 (this doesn't worry me in itself).
2) Boot process proceeds until starting hald. This gets an OK response, but then the process hangs. No further output appears on the console. Pressing [ENTER] just causes a blank line to appear on the console. Pressing CTRL-ALT-DEL causes a reboot, and the same symptoms re-occur.
I'm tempted to boot with the rescue disk, save a few critical data directories, then start afresh with a clean install, but is there anything I can do to salvage the upgrade?
View 1 Replies
View Related
Jan 22, 2010
I've attempted to upgrade my FC9 machine to the latest Fedora 12. I downloaded the iso image onto DVD and booted from the DVD into the installer GUI. Everything proceeded flawlessly until I tried to reboot from the new installation on the hard drive.When rebooting, the word GRUB appears and the system hangs. I've rebooted in rescue mode and the grub.conf appears to make sense, although I can't say that I understand all the entries. Based on some research, I suspect that the problem is ocurring even before grub.conf get read.
Can someone give me a tip on where to begin? I don't expect a detailed answer, but I don't even know where to get started. As far as I know, I have no unusual hardware configurations. No RAID, no booting from USB. The system is old (bought around 2002), but has plenty of memory and storage. One possible clue: my USB keyboard would not work during the installation phase, and I had to replace it with one that plugged into the PS/2 port. USB mouse seems to be fine.
View 2 Replies
View Related
Nov 26, 2010
I have just upgraded my desktop (x86_64) from Fedora 12 to Fedora 14, using a DVD.At the end of the upgrade I rebooted as instructed. The boot process never writes anything to the console. I don't see a cursor or a prompt. I can't do anything iexcept ctrl-al-del to reboot, so I appear to be completely stuck
View 2 Replies
View Related
May 26, 2011
I upgraded F14 to F15 using installation DVD. I have been upgrading since F11 with no problems. Upgrade went well, no issue. After the reboot, the system hangs after the last line systemd.
These are last lines from boot.log:
Starting LSB: start and stop xinetd...
Started LSB: Mount and unmount network filesystems..
Starting Permit User Sessions...
Starting xinetd: Started Permit User Sessions.
Starting Display Manager...
Started Display Manager. [OK]
Started LSB: start and stop xinetd.
Right now I am on system rescue CD, can mount partitions and read logs. I would like to avoid fresh installation if possible.
View 9 Replies
View Related
Jun 21, 2011
I recently upgraded through 'YUM' from Fedora 14 to Fedora 15. The upgrade appeared to be successful until it re booted, ever since then it hangs at
Code:
Started SYSV: Enable monthly update of smolt.
I have downloaded the ISO and burned it to DVD on another system which I used to try to rescue the installation, so far to no avail. My system specs are in my signature below (Laughlin is what I upgraded from).
View 7 Replies
View Related
May 2, 2010
When this happens you have to open a terminal, get the process id for mysql-server-5 then kill that process. Like this:
Code:
ps -A
then from the list of processes that it spits out look at the process id (the number at the beginning of the line) for mysql-server-5.
Now type
Code:
sudo kill -9 XXXXX
where XXXXX is the process id for mysql-server, and enter your password. The upgrade process should now resume.
View 1 Replies
View Related