PDA

View Full Version : Apt not working after fresh install of Kali



jtsan
2014-01-19, 20:13
Hey all,

I just did a fresh install of Kali and I am having trouble installing packages through apt. I googled around but wasn't able to find anyone experincing the same issue.

Everytime I try and run apt-get I receive the following error message:



root@wonked:/var/lib/dpkg# dpkg --configure -a
dpkg: unrecoverable fatal error, aborting:
conflicting diversions involving `/tions/kali-affdiskprint.desktop' or `/usr/share/applications/kali-affdiskprint.desktop.disabled-by-kali-menu'


I looked in /var/lib/dpkg/available and /var/lib/dpkg/status but did not see anything relating to these packages. I also tried running apt-get clean and dpkg --configure -a but those didn't work either.

It seems like something is corrupted but I don't have the experience nessecary to resolve this on my own. Any ideas of how I could go about fixing this would be greatly appriciated.

Thanks! :p

RusherGondza
2014-01-20, 00:03
Apt not working after fresh install of Kali
Can somebody give some tip what i should do if i write any function of apt and terminal show me :


Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Can find anything on internet about that.!

maverik35
2014-01-20, 01:07
Try "aptitude clean"