Pomoć oko brisanja

Pozdrav,

trenutno koristim najnoviju verziju ubuntu linuxa.
Pokušao sam instalirati “vagalume” programčić za slušanje web radija.
Ali to nije uspjelo. Muđutim u synaptiku mi pokazuje da je instaliran.
Kada pokušam da ga izbrišem ili da ga reinstaliram pojavi se neka greška:

Reading package lists… Done
Building dependency tree
Reading state information… Done
vagalume is already the newest version.
The following packages were automatically installed and are no longer required:
uno-libs3 ure
Use ‘apt-get autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/126kB of archives.
After this operation, 0B of additional disk space will be used.
Selecting previously deselected package vagalume.
(Reading database … 130687 files and directories currently installed.)
Preparing to replace vagalume 0.6-1 (using …/vagalume_0.6-1_amd64.deb) …
Unpacking replacement vagalume …
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead …
dpkg: error processing /var/cache/apt/archives/vagalume_0.6-1_amd64.deb (–unpack):
subprocess new post-removal script returned error exit status 1
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 1
Processing triggers for man-db …
Processing triggers for menu …
Errors were encountered while processing:
/var/cache/apt/archives/vagalume_0.6-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Hvala za bilo kakvu pomoć ! :slight_smile:

generalno…

sudo apt-get -f install

sudo apt-get update

sudo apt-get upgrade

sudo apt-cache search imepaketa
sudo apt-get remove imepaketa
sudo apt-get install imepaketa

Problem je samo sto “generalno” u ovim situacijama ne radi :frowning: Meni je na 8.10 ovako “puklo” nekoliko paketa (gv, gnupg2, ocrad… da nabrojim samo neke). Fazon je u tome što ih se više ne može na normalan način ukloniti. Postovao sam pitanje na Ubuntuforums – niko nije odgovorio. Kao privremena mjera, uklonio sam sve vezano za ove “slomljene” pakete u /var/lib/dpkg/info/ i na taj način makar više ne iskače svaki put kad nešto instaliram poruka “post-install error” itd. Ne znam koliko je ovo dobro, ali bolje nego reinstall. Ako neko ima ideju…

dpkg -r --force-all vagalume

Ovo je bolje rješenje koje sam našao:
ls -al /var/lib/dpkg/info |grep vagalume
Ovo bi trebalo naći fajl koji se zove tipa /var/lib/dpkg/info/vagalume-NESTONESTO.postrm
nano /var/lib/dpkg/info/vagalume…postrm
Trebalo bi da izgleda otprilike ovako

#!/bin/sh set -e ....
Odmah ispod linije set -e dodaj liniju:
exit 0
nakon toga kucaj
dpkg -P vagalume

Hvala za exit, Vedrane :smiley: