LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   /var run out of space while slackpkg upgrade-all. Consequences? (http://www.linuxquestions.org/questions/slackware-14/var-run-out-of-space-while-slackpkg-upgrade-all-consequences-937715/)

PreguntoYo 04-02-2012 12:59 PM

/var run out of space while slackpkg upgrade-all. Consequences?
 
Panic!

Yesterday I logged in the console as root (no X server, this is how I use to do these tasks) (this is supposed to be the "correct" way, ain't it?), and while upgrading packages mozilla firefox, thunderbird, seamonkey and seamonkey-solibs:

Code:

# slackpkg update
# slackpkg upgrade-all

(you know, typical way of keeping Slackware stable up to date) I noticed some strange messages in the screen, sort of:

Code:

:sort command error
:sort command error
:sort command error
error: no space left on filesystem

(sorry, I don't remember those messages exactly, and of course this time I wasn't keeping a log of what was happening) :banghead:

I switched fast to another console and noticed that my /var (LVM) partition was full :eek: Then I entered # df -h some more times in this same (second) console, and noticed that /var had regained some more space again (still, it is nearly full now).

I've had a read at slackpkg man's page, and despite the options are well explained, HOW slackpkg does its work is unclear to me (till now, the working dir was unknown to me, too) (if slackpkg's developer is reading this now, please take it as constructive criticism).

Ok, so what could be the consequences of running out of space while upgrading these packages?. I'm using firefox at the moment and everything SEEMS normal... :confused:

EDIT: and if everything has seemed normal till now... this may have happened in previous updates, too!

bosth 04-02-2012 02:56 PM

I think the problem will be that the information in /var/log/packages won't be correct, meaning that your system won't have complete information about installed packages. I suspect that all the packages will actually have installed correctly. When it comes to uninstalling, however, you won't be able to since the package management tools won't know which files to uninstall (or even which packages are installed).

slack_them_all 04-02-2012 04:05 PM

I don't think this is that bad.You should increase /var to have a few GB of space.
Then if you think some packages log are missing, there is an option in slackpkg to reinstall them.


All times are GMT -5. The time now is 04:50 AM.