Distribution Upgrade fails to complete -- Cannot allocate memory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
adept (Ubuntu) |
In Progress
|
Undecided
|
BigPick |
Bug Description
This is similar to Bug 153975, though the specific facts are different.
I fire up adept-manager. Fetch updates. Version Upgrade button lights up. Click.
<snip "Fixin' to do stuff" lingo>
<snip annoying, time-consuming, and bandwidth-wasting behavior of rewriting sources.list file to require use of the official mirrors instead of local network mirror>
Information pop-up window: "Support for some applications ended" with list
clicked Close
Package Changes
"Do you want to start? 1 package is going to be removed. Close applications and documents. "
Remove libgl1-mesa
Clicked Start Upgrade. Package changes window closes, then Distribution Upgrade window closes. Nothing happens after that.
Several retries results in exact same behavior, every time.
The following excerpt is repeated several times in /var/log/
=================
Original exception was:
Traceback (most recent call last):
File "/tmp/kde-
app.run()
File "/tmp/kde-
self.
File "/tmp/kde-
if not self.doDistUpgr
File "/tmp/kde-
res = self.cache.
File "/tmp/kde-
apt.
File "/usr/lib/
res = self.installArc
File "/usr/lib/
res = installProgress
File "/usr/lib/
pid = self.fork()
File "/tmp/kde-
self.child_pid = os.fork()
OSError: [Errno 12] Cannot allocate memory
adept_manager: no process killed
adept_updater: no process killed
Starting
Starting 2
Done
MarkUpgrade() called on a non-upgrable pkg: 'kubuntu-desktop'
kdecore (KProcess): WARNING: setPty()
kdecore (KProcess): WARNING: _attachPty() 46
updateStatus: Reading cache
updateStatus: Checking package manager
updateStatus: Updating repository information
updateStatus: Checking package manager
updateStatus: Asking for confirmation
updateStatus: Fetching
updateStatus: Upgrading
Error in sys.excepthook:
Traceback (most recent call last):
File "/tmp/kde-
if not run_apport():
File "/tmp/kde-
ret = subprocess.call(p)
File "/usr/lib/
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/
errread, errwrite)
File "/usr/lib/
self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory
=================
I have plenty of memory. free -mt shows the following:
=================
total used free shared buffers cached
Mem: 1011 369 641 0 2 139
-/+ buffers/cache: 227 784
Swap: 0 0 0
Total: 1011 369 641
=================
I have plenty of disk space. df -h shows the following:
=================
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 36G 9.7G 24G 30% /
varrun 506M 196K 506M 1% /var/run
varlock 506M 0 506M 0% /var/lock
udev 506M 84K 506M 1% /dev
devshm 506M 0 506M 0% /dev/shm
lrm 506M 34M 472M 7% /lib/modules/
==================
Both before and after the upgrade tool rewrote the sources.list <snip grumbling under breath>, aptitude full-upgrade shows:
==================
<yada, yada, yada>
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
<yada, yada, yada>
==================
do-release-upgrade shows:
==================
Checking for a new ubuntu release
No new release found
==================
cat /etc/lsb-release shows:
==================
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
==================
Happy Trails,
Loye Young
Isaac & Young Computer Company
Laredo, Texas
http://
I can confirm this error. Identical circumstances.
Upgrade Feisty -> Gusty using adept "Distribution Upgrade Tool". Tool goes through all steps until "Installing the upgrades", at which point the tool closes unexpectedly.
Upgrade was completed using aptitude, however some important scripts have obviously not been run as dbus is failing initialize properly at boot and requires manual restart to get Network Manager, guidance- power-manager and HAL related operations to run properly.
Additionally, adept continues to show the "Version Upgrade" button even though aptitude full-upgrade and /etc/lsb-release report the upgrade is complete as mentioned above.