PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > dpkg unable to write to /var/lib/dpkg/status, /var partition full
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

dpkg unable to write to /var/lib/dpkg/status, /var partition full

Réponse
 
LinkBack Outils de la discussion
Vieux 20/04/2008, 22h40   #1
Kyle Barbour
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut dpkg unable to write to /var/lib/dpkg/status, /var partition full

Hello there,

I booted up my system this morning and tried to install something with
aptitude, only to get the error message:

W: Could not lock the cache file. Opening in read-only mode; any
changes you make to the states of packages will NOT be preserved!
E: dpkg was interrupted, you must manually run 'dpkg --configure -a'
to correct the problem.

So, I tried running dpkg --configure -a, which gave me:

dpkg: failed to write status record about `vlc-nox' to
`/var/lib/dpkg/status': No space left on device

I ran df, and I found that my /var partition is entirely full (1.9 GB
of 1.9 GB). I don't know why - last night I ran 'aptitude
safe-upgrade', maybe that has something to do with it? I'm not sure
how to fix this problem - I'm assuming that I should pare down some
files, but I'm not sure which ones or how to prevent this from
happening again. Any thoughts?

Thanks for the ,
Kyle Barbour


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 20/04/2008, 22h50   #2
Peter Tynan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: dpkg unable to write to /var/lib/dpkg/status, /var partition full

On 20/04/2008, Kyle Barbour <kylebarbour@gmail.com> wrote:
> Hello there,
>
> I booted up my system this morning and tried to install something with
> aptitude, only to get the error message:
>
> W: Could not lock the cache file. Opening in read-only mode; any
> changes you make to the states of packages will NOT be preserved!
> E: dpkg was interrupted, you must manually run 'dpkg --configure -a'
> to correct the problem.
>
> So, I tried running dpkg --configure -a, which gave me:
>
> dpkg: failed to write status record about `vlc-nox' to
> `/var/lib/dpkg/status': No space left on device
>
> I ran df, and I found that my /var partition is entirely full (1.9 GB
> of 1.9 GB). I don't know why - last night I ran 'aptitude
> safe-upgrade', maybe that has something to do with it? I'm not sure
> how to fix this problem - I'm assuming that I should pare down some
> files, but I'm not sure which ones or how to prevent this from
> happening again. Any thoughts?
>
> Thanks for the ,
> Kyle Barbour


I had this problem recently, if I remember right the file at
/var/log/user.log.0 had grown huge (6GB+) - I don't know if this was
the right thing to do but I just deleted it (it reappeared soon after
but has stayed a far more reasonable size - currently 18.kb).

Peter


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 20/04/2008, 23h00   #3
Ron Johnson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: dpkg unable to write to /var/lib/dpkg/status, /var partition full

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/20/08 16:34, Kyle Barbour wrote:
> Hello there,
>
> I booted up my system this morning and tried to install something with
> aptitude, only to get the error message:
>
> W: Could not lock the cache file. Opening in read-only mode; any
> changes you make to the states of packages will NOT be preserved!
> E: dpkg was interrupted, you must manually run 'dpkg --configure -a'
> to correct the problem.
>
> So, I tried running dpkg --configure -a, which gave me:
>
> dpkg: failed to write status record about `vlc-nox' to
> `/var/lib/dpkg/status': No space left on device
>
> I ran df, and I found that my /var partition is entirely full (1.9 GB
> of 1.9 GB). I don't know why - last night I ran 'aptitude
> safe-upgrade', maybe that has something to do with it? I'm not sure
> how to fix this problem - I'm assuming that I should pare down some
> files, but I'm not sure which ones or how to prevent this from
> happening again. Any thoughts?


There's got to be a way to delete old/un-needed .deb files. Using
apt-get, it's:
# apt-get clean


- --
Ron Johnson, Jr.
Jefferson LA USA

We want... a Shrubbery!!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIC7tpS9HxQb37XmcRAoz4AKDjCOmfEunTZcpL/Dsio7rZPKaoVgCgu2Sp
Hb0WHExAVaF/SqFwNZ13p4w=
=D8mu
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 20/04/2008, 23h00   #4
Jochen Schulz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: dpkg unable to write to /var/lib/dpkg/status, /var partition full

Kyle Barbour:
>
> dpkg: failed to write status record about `vlc-nox' to
> `/var/lib/dpkg/status': No space left on device


Run 'apt-get clean' and see how much free space you get. Apt stores
downloaded debs locally and never deletes them until asked to do so.

J.
--
I have been manipulated and permanently distorted.
[Agree] [Disagree]
<http://www.slowlydownward.com/NODATA/data_enter2.html>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIC7sc+AfZydWK2zkRAtRGAJ4ttNTgV+4l2YPLbkGdyy mRvbpDmwCfW7N0
IOXtududLak9a5gnPa+vgdQ=
=dIEB
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 20/04/2008, 23h30   #5
Andrei Popescu
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: dpkg unable to write to /var/lib/dpkg/status, /var partition full

On Sun, Apr 20, 2008 at 04:53:45PM -0500, Ron Johnson wrote:
>
> There's got to be a way to delete old/un-needed .deb files. Using
> apt-get, it's:
> # apt-get clean


'clean' will remove all .deb files. I think it's better to use
autoclean.

Regards,
Andrei
--
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIC8KKqJyztHCFm9kRAjAzAKClylMWvxvjmxzLmvvsuh 6pnO2B0wCfZL5D
6n3qptx3yocB6mqt+MGrbRs=
=9tRt
-----END PGP SIGNATURE-----

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 18h28.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10553 seconds with 13 queries