[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't upgrade gcc-3.3 (Device or resource busy)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

vedm wrote:

| If I try to move the file /usr/lib/gcc-lib/i486-linux/3.3.5/spec to
| another name I again get the same message: "Device or resource busy"
|
| Any idea how to fix this?

I had the same problem. As suggested elsewhere in the thread, I tried to
determine if any process was using the file, and booted into single user
mode with no luck.

My solution was:

cd /usr/lib/gcc-lib/i486-linux
mv 3.3.5 3.3.5-backup
mkdir 3.3.5
# I wanted everything except the specs file here
# couldn't remember the syntax
cp 3.3.5-backup/specs.dpkg-t* 3.3.5/
cp -r 3.3.5-backup/{c,i,lib,SYS}* 3.3.5/

and then to upgrade the package as normal.

Simon Ward
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB6lYHSv/U/7hQbiwRAo4mAJsHAoaPFEYj17MJ4AyQZnWemoyGXwCeIjVq
yuH96X/ZM3i1HRO2dz32DtE=
=XRrC
-----END PGP SIGNATURE-----



Reply to: