aptdaemon error

Thomas Blasejewicz thomas at s7.dion.ne.jp
Sun Oct 5 16:03:54 UTC 2014


(2014/10/06 0:34), Liam Proven wrote:
> On 5 October 2014 17:18, Thomas Blasejewicz <thomas at s7.dion.ne.jp> wrote:
>> Just thinking ... if it were possible to delete the first and rename the
>> latter again into "status" ... would that maybe help?
>> However, I could not figure out yet, how to modify or move/delete etc. those
>> files.
>
> Personally I would have stopped when the 1st command failed! :¬)
>
> And yes, knowing this stuff helps. It's analagous to knowing how to
> change the oil in your car/motorbike. But many don't -- they just go
> to a dealer. That is OK, too.
>
> I would suggest just removing the errant file, or rather, renaming it.
>
> cd /var/lib/dpkg
> sudo mv status status.broken
>
> Then retry the rest from there..
>
>
I tried that, but it did not work.
When I click on that red warning icon at top of the screen I get a few 
options,
and some of those give errors too.
Maybe THIS information helps:
*    Start Package Manager -> click ->:
"E:Could not open file /var/lib/dpkg/status - open (2: No such file or 
directory), E:The package lists or status file could not be parsed or 
opened."

*    Check for or install updates -> :
Traceback (most recent call last):
   File "/usr/lib/python3/dist-packages/aptdaemon/worker.py", line 282, 
in _process_transaction
     self.fix_incomplete_install(trans)
   File "/usr/lib/python3/dist-packages/aptdaemon/worker.py", line 1019, 
in fix_incomplete_install
     with self._frozen_status():
   File "/usr/lib/python3.4/contextlib.py", line 59, in __enter__
     return next(self.gen)
   File "/usr/lib/python3/dist-packages/aptdaemon/worker.py", line 1157, 
in _frozen_status
     shutil.copy(self._status_orig, frozen_dir)
   File "/usr/lib/python3.4/shutil.py", line 228, in copy
     copyfile(src, dst, follow_symlinks=follow_symlinks)
   File "/usr/lib/python3.4/shutil.py", line 107, in copyfile
     with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: 
'/var/lib/dpkg/status'


To begin with, all I was trying to do was install a piece of software .....




When




More information about the ubuntu-users mailing list