/etc/init.d/cups restart --> nic nevypisalo.
takze som zasiel do /var/log/cups a pozrel logy, access_log,error_log,page_log -->uplne prazdne
tak som skusil
aptitude reinstall cups --> nic sa niedalo,tak som po chvili hitol crl+c
zasiel teda do /var/log/aptitude
root@server:/var/log# cat aptitude
Aptitude 0.6.3: log report
Mon, Oct 22 2012 19:08:58 +0200
IMPORTANT: this log only lists intended actions; actions which fail due to
dpkg problems may not be completed.
Will install 1 packages, and remove 0 packages.
===============================================================================
[REINSTALL] cups
===============================================================================
Log complete.
Aptitude 0.6.3: log report
Mon, Oct 22 2012 19:18:57 +0200
IMPORTANT: this log only lists intended actions; actions which fail due to
dpkg problems may not be completed.
Will install 0 packages, and remove 35 packages.
72.5 MB of disk space will be freed
===============================================================================
[REMOVE, NOT USED] cups-driver-gutenprint
[REMOVE, NOT USED] cups-ppdc
[REMOVE, NOT USED] fancontrol
[REMOVE, NOT USED] foomatic-db
[REMOVE, NOT USED] foomatic-db-engine
[REMOVE, NOT USED] foomatic-filters
[REMOVE, NOT USED] foomatic-filters-ppds
[REMOVE, NOT USED] ghostscript
[REMOVE, NOT USED] ghostscript-cups
[REMOVE, NOT USED] gsfonts
[REMOVE, NOT USED] hpijs
[REMOVE, NOT USED] libcupscgi1
[REMOVE, NOT USED] libcupsdriver1
[REMOVE, NOT USED] libcupsmime1
[REMOVE, NOT USED] libcupsppdc1
[REMOVE, NOT USED] libgs8
[REMOVE, NOT USED] libgutenprint2
[REMOVE, NOT USED] libhpmud0
[REMOVE, NOT USED] libijs-0.35
[REMOVE, NOT USED] libjasper1
[REMOVE, NOT USED] libjbig2dec0
[REMOVE, NOT USED] liblcms1
[REMOVE, NOT USED] libopenjpeg2
[REMOVE, NOT USED] libpaper-utils
[REMOVE, NOT USED] libpaper1
[REMOVE, NOT USED] libpoppler5
[REMOVE, NOT USED] libsensors4
[REMOVE, NOT USED] libslp1
[REMOVE, NOT USED] libsnmp-base
[REMOVE, NOT USED] libsnmp15
[REMOVE, NOT USED] lm-sensors
[REMOVE, NOT USED] min12xxw
[REMOVE, NOT USED] pnm2ppa
[REMOVE, NOT USED] poppler-utils
[REMOVE] cups
tak som skusil apt-get remove cups ---> vypisalo same zavyslosti na balickoch a na poslednom riadku,ze mozem skusit:
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
takze by ma zaujimalo,Vas skusenejsich,ako by sa dalo totok riesit?
init 1
a potom nasledovne skusil:umount /dev/sdb1
fsck /dev/sdb1
e2fsck /dev/sdb1
fsck -t ext3 /dev/sdb2
nemozem povedat,ze to nieco robilo,vypisalo
iba totok:
e2fsc 1.41.12 (17-may-2010)
/dev/sdb1: clean, 5837/85344 files, 163317/340992
dake napady?
Fetched 19.2 MB in 4s (3,988 kB/s)
Traceback (most recent call last):
File "/usr/bin/apt-listchanges", line 237, in <module>
main()
File "/usr/bin/apt-listchanges", line 72, in main
status.readfile('/var/lib/dpkg/status')
File "/usr/share/apt-listchanges/DebianFiles.py", line 105, in readfile
self.stanzas += [ControlStanza(x) for x in open(file, 'r').read().split('\n\n') if x]
File "/usr/share/apt-listchanges/DebianFiles.py", line 64, in __init__
field, value = line.split(':', 1)
ValueError: need more than 1 value to unpack
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg: parse error, in file '/var/lib/dpkg/status' near line 887 package 'mutt':
field name `' must be followed by colon
E: Sub-process /usr/bin/dpkg returned an error code (2)
http://pastebin.com/C9j2hsuJ
/usr/share/apt-listchanges/DebianFiles.py
http://pastebin.com/VhacCba0
/var/lib/dpkg/status
http://pastebin.com/rA4Qjh3w
/usr/bin/dpkg
http://pastebin.com/xZ9GeUfe
pridam aj tie vypisi,ak by zaujimali
Skús: sudo mv /var/lib/dpkg/status /var/lib/dpkg/status.back
Potom: sudo apt-get -f install
Keď nepomôže toto, tak si to rozbil nakomplet :)
root@server:/var/lib/dpkg# apt-get -f install
Reading package lists... Error!
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.
a da sa ten rozbity komplet dat zasa do pohody ? :(
apt-get update && apt-get -f install
ked nepomoze, tak
dpkg --configure -a
apt-get update && apt-get -f install
po odhitnuti yes hadze ten isty error co lenapt-get -f install
dpkg --configure -a
root@server:/var/lib/dpkg# dpkg --configure -a
dpkg: parse error, in file '/var/lib/dpkg/status' near line 887 package 'mutt':
field name `' must be followed by colon
dake napady este na mozne riesenie?
apt-get remove mutt* && apt-get -f install
ak nepomoze, pozri si tuto navod na podobny problem.
premazal som len tie chybne useky,ktore mi ukazovali v STATUS a uz to facha,este musim to cups dako poriesit..