Stranica: 1/1.

Broken Packages

Postano: 28 lis 2016, 20:08
Postao/la fortuna
Pozdrav,

Tri dana uzaludnog googlanja i ništa, nigdje ni sličan problem. Što god pokušam instalirati slijedi:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
synaptic : Depends: libxapian22 but it is not going to be installed
Recommends: software-properties-gtk but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Prvi pokušaj:
sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Drugi pokušaj:
apt-get update
Ign:1 http://extras.ubuntu.com/ubuntu precise InRelease
Ign:2 http://archive.canonical.com/ubuntu precise InRelease
Hit:3 http://extras.ubuntu.com/ubuntu precise Release
Hit:4 http://archive.canonical.com/ubuntu precise Release
Ign:5 http://us.archive.ubuntu.com/ubuntu precise InRelease
Get:6 http://archive.canonical.com/ubuntu precise Release.gpg [198 B]
Get:7 http://us.archive.ubuntu.com/ubuntu precise-security InRelease [55,7 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu precise-updates InRelease [55,7 kB]
Hit:10 http://us.archive.ubuntu.com/ubuntu precise-backports InRelease
Hit:11 http://us.archive.ubuntu.com/ubuntu precise Release
Fetched 112 kB in 2s (48,6 kB/s)
Reading package lists... Done
W: http://extras.ubuntu.com/ubuntu/dists/p ... elease.gpg: Signature by key C47415DFF48C09645B78609416126D3A3E5C1192 uses weak digest algorithm (SHA1)
W: http://archive.canonical.com/ubuntu/dis ... elease.gpg: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: http://us.archive.ubuntu.com/ubuntu/dis ... /InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: http://us.archive.ubuntu.com/ubuntu/dis ... /InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: http://us.archive.ubuntu.com/ubuntu/dis ... /InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: http://us.archive.ubuntu.com/ubuntu/dis ... elease.gpg: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
PLEASE, HELP :(

Re: Broken Packages

Postano: 28 lis 2016, 20:16
Postao/la dupin

Kod: Označi sve

sudo apt-get install libxapian22 
Vidi hoćeš li nakon toga i dalje imati problema. Taj jedan paket koji ti kaže da ne moeže nadograditi

Kod: Označi sve

apt-get update && apt-get dist-upgrade
EDIT: Ima još. Možeš probati

Kod: Označi sve

sudo apt-get -f install
sudo dpkg --configure -a

Re: Broken Packages

Postano: 28 lis 2016, 20:47
Postao/la fortuna
To sam već pokušavala. Ništa nije pomoglo.

Malo detaljnije:
sudo apt-get install build-essential libssl-dev libffi-dev python-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.2).
build-essential set to manually installed.
python-dev is already the newest version (2.7.11-2).
python-dev set to manually installed.
libffi-dev is already the newest version (3.2.1-4).
libffi-dev set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libssl-dev : Depends: zlib1g-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
sudo apt-get install zlib1g-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
zlib1g-dev : Depends: zlib1g (= 1:1.2.3.4.dfsg-3ubuntu4) but 1:1.2.8.dfsg-2+b1 is to be installed
E: Unable to correct problems, you have held broken packages.

Re: Broken Packages

Postano: 28 lis 2016, 22:03
Postao/la dupin
MIslim da nešto nije u redu sa sources listom. Kaže ti poruka da ći biti instaliran zlib1g 1:1.2.8.dfsg-2+b1, a to nije paket is Precise verzije. Kao da su pomješani repozitoriji u source listi. Ajde

Kod: Označi sve

cat /etc/apt/sources.list
Pa pošalji.

Re: Broken Packages

Postano: 29 lis 2016, 20:45
Postao/la JH-IM
Btw kako to da imaš još 12.04 LTS? Već je izašao 16.04 LTS.

Re: Broken Packages

Postano: 29 lis 2016, 21:41
Postao/la dupin
@ fortuna

Koju distru imaš instaliranu? Zbujuje me što si navela Kali linux, a repozitorijji su Ubuntuovi. I još možeš

Kod: Označi sve

cat /etc/apt/sources.list.d/* 

Re: Broken Packages

Postano: 29 lis 2016, 23:05
Postao/la fortuna
root@ZyXEL3:~# cat /etc/apt/sources.list
#The Kali Rolling Repository
deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali kali-rolling main contrib non-freeroot@ZyXEL3:~#


:place pface :nee

Re: Broken Packages

Postano: 30 lis 2016, 00:25
Postao/la dupin
Pobriši sve ostale repozitorije, osim ovog službenog. Vidi nalaze li se ovi Precise u source.list.d pa ih sve izbriši. Nakon toga

Kod: Označi sve

sudo apt-get update && sudo apt-get upgrade