apt-get upgrade: no file name for libattr1


3 posts
by MotoBlue » Wed Jun 27, 2012 8:18 am
Built using the installer - 6-18-12 - I thought I had previously successfully run apt-get update, upgrade and rpi-update. Today when I try to update, upgrade I get 1 not fully installed or removed. Then upgrade halts with E: internal error. No file name for libattr1

Am I starting from scratch again or has someone got any ideas. Libattr1 is the extended attribute shared library so apt-get remove then apt-get install is not an option.
Posts: 39
Joined: Tue Apr 17, 2012 4:07 pm
by grumpyoldgit » Wed Jun 27, 2012 8:21 am
I have found that, at times, files are not available.
They could be in the process of being upgraded or replaced themselves.
I would just leave it for now and try again later.
User avatar
Posts: 1458
Joined: Thu Jan 05, 2012 12:20 pm
by MotoBlue » Wed Jun 27, 2012 10:09 am
I think I have sorted it.
I attempted to 'apt-get install --reinstall libattr1', expecting it to fail since I assumed it needed to use libattr1 so 'cd /var/cache/apt/archive' and then 'dpkg -i' the package and bingo - apt-get upgrade working again
Posts: 39
Joined: Tue Apr 17, 2012 4:07 pm