Click to See Complete Forum and Search --> : Need apt help - (deleted tmp files in apt directory) ??
Radiowriter
07-26-2003, 10:37 AM
I screwed up apt (I think) awhile back and need to figure out how to fix it. I was trying to free some disk space and deleted the tmp files in the apt directory. Needless to say something's broken. When I try to install or uninstall packages using synaptic I get an error message that a file is missing. Is there a way to fix this? Any help would be much appreciated.
mdwatts
07-26-2003, 10:45 AM
Since apt-get is software, then of course your question would belong in the Software forum or Technical.
Moved to Software...
Radiowriter
07-26-2003, 11:05 AM
Originally posted by mdwatts
Since apt-get is software, then of course your question would belong in the Software forum or Technical.
Of course! I feel so stupid. Thanks!
PS: Sorry. The sig made me do it.
stevewabc
07-26-2003, 11:16 AM
The first thing is what Distro are you using?
This is some helpfull info on Apt-Get that I put together for Libranet2.8( 100%Debian).I hope this will get you on your way...
http://www.madpenguin.org/viewtopic.php?topic=191&forum=15&6
Good luck
Steven
:cool:
Radiowriter
07-26-2003, 11:32 AM
Thanks for the reply, Steve. I'm using RedHat 8. What happened is, I was trying to clear some disk space and found a tmp apt (I think) directory that had the installed packages in it (an archive of some sort, I suppose). Since the packages were already installed, I saw no reason to keep them as they were taking up several hundred mb of space. Is there a way I can uninstall and reinstall apt, apt-get, synaptic (any or all) and restore things to normal? I can't use Synaptic to remove packages anymore either.
z0mbix
07-26-2003, 12:08 PM
Originally posted by Radiowriter
Thanks for the reply, Steve. I'm using RedHat 8. What happened is, I was trying to clear some disk space and found a tmp apt (I think) directory that had the installed packages in it (an archive of some sort, I suppose). Since the packages were already installed, I saw no reason to keep them as they were taking up several hundred mb of space. Is there a way I can uninstall and reinstall apt, apt-get, synaptic (any or all) and restore things to normal? I can't use Synaptic to remove packages anymore either.
The quickest way to clean up the downloaded packages with the command apt-get clean
Radiowriter
07-26-2003, 04:39 PM
This is what apt-get clean returns...
E: Archive directory /var/cache/apt/archives/partial is missing.
E: Unable to read /var/cache/apt/archives/partial/ - opendir (2 No such file or
directory)
Oops.
Suramya
07-26-2003, 05:14 PM
Originally posted by Radiowriter
This is what apt-get clean returns...
E: Archive directory /var/cache/apt/archives/partial is missing.
E: Unable to read /var/cache/apt/archives/partial/ - opendir (2 No such file or
directory)
Oops.
Try creating /var/cache/apt/archives/partial and then run 'apt-get clean'
- Suramya
Radiowriter
07-26-2003, 05:39 PM
May I say...YOU ROCK, Suramya! Thank you very much. I love user forums! Peace OUT!
Suramya
07-26-2003, 11:09 PM
Originally posted by Radiowriter
May I say...YOU ROCK, Suramya! Thank you very much. I love user forums! Peace OUT!
Thanks :) Glad that it worked.
- Suramya