Broken Packages

Novi ste u svijetu Linuxa? Imate hrpu početničkih pitanja?

Moderator/ica: Moderatori/ce

Pravila foruma
PRAVILA ZA NOVE KORISNIKE LINUXA!
Prije otvaranja bilo kakve diskusije svaki novi korisnik u svijetu Linuxa obavezan je učiniti sljedeće korake:
Pročitati ove tekstove iz naše Wikipedije:
- Sve uvodne tekstove Linuxa za početnike (njih 5)
- Sve što trebate znati o radu s diskovima
- Pročitati ovu temu za početnike
- Pokušati pronaći riješenje problema u Enciklopediji znanja

Nakon toga korisnik smije otvoriti temu s naslovom svog problema uz obaveznu naznaku Linux distribucije koju koristi u formi:
[Linux distribucija, broj verzije, grafičko okruženje]: Naslov problema
U prvom postu korisnik obavezno mora odgovoriti na ova pitanja:
- Da li ima instalirane Windowse?
- Što ga je motiviralo na instaliranje i korištenje Linux distribucije?
- Obavezno je potrebno navesti specifikacije hardvera (Ime Laptopa, tip procesora, grafičke i mrežne kartice, količina RAM-a i diska)

Bez učinjenih ovih prvih koraka, na teme se neće odgovarati i one će biti izbrisane s foruma!
Odgovori
fortuna
Postovi: 3
Pridružen/a: 28 lis 2016, 19:56
Spol: Ž
OS: Kali linux 2.0

Broken Packages

Post 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 :(
Avatar
dupin
Postovi: 2220
Pridružen/a: 05 tra 2008, 22:38
Spol: M
OS: OpenSuse
Lokacija: Zadar

Re: Broken Packages

Post 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
Nema veće religije od istine!
fortuna
Postovi: 3
Pridružen/a: 28 lis 2016, 19:56
Spol: Ž
OS: Kali linux 2.0

Re: Broken Packages

Post 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.
Avatar
dupin
Postovi: 2220
Pridružen/a: 05 tra 2008, 22:38
Spol: M
OS: OpenSuse
Lokacija: Zadar

Re: Broken Packages

Post 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.
Nema veće religije od istine!
Avatar
JH-IM
Postovi: 2806
Pridružen/a: 23 ruj 2013, 21:19
Spol: M
OS: Ubuntu 18.04 LTS

Re: Broken Packages

Post Postao/la JH-IM »

Btw kako to da imaš još 12.04 LTS? Već je izašao 16.04 LTS.
Avatar
dupin
Postovi: 2220
Pridružen/a: 05 tra 2008, 22:38
Spol: M
OS: OpenSuse
Lokacija: Zadar

Re: Broken Packages

Post 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/* 
Nema veće religije od istine!
fortuna
Postovi: 3
Pridružen/a: 28 lis 2016, 19:56
Spol: Ž
OS: Kali linux 2.0

Re: Broken Packages

Post 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
Avatar
dupin
Postovi: 2220
Pridružen/a: 05 tra 2008, 22:38
Spol: M
OS: OpenSuse
Lokacija: Zadar

Re: Broken Packages

Post 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
Nema veće religije od istine!
Odgovori