• Post Reply Bookmark Topic Watch Topic
  • New Topic

Files missing?  RSS feed

 
Isaac Ferguson
Ranch Hand
Posts: 1063
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

looks like when deleting some folders by accident I removed some internal Ubuntu file because now when trying to reinstall LAMP I ge this error:

Reading package lists... Error!
E: Couldn't create temporary file to work with /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_trusty_Release - mkstemp (2: No such file or directory)
E: The package lists or status file could not be parsed or opened.


Any idea, please?

Regards, Isaac
 
Tim Holloway
Saloon Keeper
Posts: 18800
74
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. You are running this command as root/sudo, I presume!

2. You have enough free disk space?

If the above are both true, you might want to pull a copy of the apt-get dpkg file and re-install it. Actually, for Red Hat systems, there's a "verify" command that's supposed to be able to tell if critical package files are missing/damaged, so check and see if Ubuntu's package management has something similar.
 
Isaac Ferguson
Ranch Hand
Posts: 1063
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I reinstalled the app-get dpkg wiht the dependencies like this sudo apt-get install -f, no new packages where updated. Looks like it was already there.

When I try to run the app in the browser like this
http://127.0.0.1/
I get this error:



i think that I delete files from Ubuntu itself

Reading package lists... Error!
E: Couldn't create temporary file to work with /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_trusty_Release - mkstemp (2: No such file or directory)
E: The package lists or status file could not be parsed or opened.


Any idea, to solve it?

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!