Kirjoittaja Aihe: Broken packages  (Luettu 3846 kertaa)

Tushaka

  • Käyttäjä
  • Viestejä: 19
    • Profiili
Broken packages
« : 26.03.06 - klo:10.01 »
Käytän ubunut 5.10
Kuin yritin asentaa sekä mp3 tuen ja VLC:n niin saan vastaukseksi "broken packages".

Tältä se siis näyttää
Koodia: [Valitse]
-.-.-@-.-.-:~$ sudo apt-get install wxvlc
Reading package lists... Done
Building dependency tree... 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.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  wxvlc: Depends: vlc (= 0.8.4-svn20050920-3+hal0ubuntu3) but it is not going to be installed
         Depends: libwxgtk2.4-1 (>= 2.4.4.1ubuntu1) but it is not going to be installed
E: Broken packages

Isäni sanoi että pitäisi ladata jotain paketteja, mutta mitkä ja mistä? Ystäväni kuin taas kehotti asentaa ubuntun uudelleen.

moonstone

  • Vieras
Re: Broken packages
« Vastaus #1 : 26.03.06 - klo:10.47 »
Liitä tähän /etc/apt/sources.list tiedostosi sisältö...

Konsolissa kirjoita...
cat /etc/apt/sources.list

JPK1990

  • Vieras
Re: Broken packages
« Vastaus #2 : 26.03.06 - klo:11.41 »
ensinnäkin pitää poistaa rikkinäiset paketit

Melmacian

  • Käyttäjä
  • Viestejä: 868
  • Ubuntu Hardy
    • Profiili
Re: Broken packages
« Vastaus #3 : 26.03.06 - klo:13.30 »
korjaa sources.list kunnolliseksi ja aja sudo apt-get update. Joudut mahdollisesti poistamaan jotain huonosti asennettuja pakettejakin.

Oletko asentanut .deb-paketeista jotain ohjelmia? Epäsopivat paketit saattaa aiheuttaa tuollaista.

Tushaka

  • Käyttäjä
  • Viestejä: 19
    • Profiili
Re: Broken packages
« Vastaus #4 : 26.03.06 - klo:13.41 »
Koodia: [Valitse]
deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted


## Uncomment the following two lines to fetch updated software from the network
# deb http://fi.archive.ubuntu.com/ubuntu breezy main restricted
# deb-src http://fi.archive.ubuntu.com/ubuntu breezy main restricted

## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
# deb http://fi.archive.ubuntu.com/ubuntu breezy-updates main restricted
# deb-src http://fi.archive.ubuntu.com/ubuntu breezy-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
 deb http://fi.archive.ubuntu.com/ubuntu breezy universe
 deb-src http://fi.archive.ubuntu.com/ubuntu breezy universe

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
 deb http://fi.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
 deb-src http://fi.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

# deb http://security.ubuntu.com/ubuntu breezy-security main restricted
# deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

#deb http://security.ubuntu.com/ubuntu breezy-security universe
#deb-src http://security.ubuntu.com/ubuntu breezy-security universe

#deb http://wine.sourceforge.net/apt/ binary/
#deb-src http://wine.sourceforge.net/apt/ source/

deb http://download.skype.com/linux/repos/debian/ stable non-free


Tuollaiselta se siis näyttää.

tuke81

  • Käyttäjä
  • Viestejä: 1667
    • Profiili
Re: Broken packages
« Vastaus #5 : 26.03.06 - klo:14.20 »
Jotain mätää sulla on tuossa source.listissä. poista näistä riveistä # -merkki edestä(sudo gedit /etc/apt/sources.list).

# deb http://fi.archive.ubuntu.com/ubuntu breezy main restricted
# deb-src http://fi.archive.ubuntu.com/ubuntu breezy main restricted

# deb http://fi.archive.ubuntu.com/ubuntu breezy-updates main restricted
# deb-src http://fi.archive.ubuntu.com/ubuntu breezy-updates main restricted


Ja lisäksi voit poistaa sen cdrom lähteen siitä kokonaan, niin ei tartte yhtenään tunkia cd-levyä asemaan.

Tuohon itse asiaan palatakseni, avaa Sovellukset->järjestelmätyökalut->synaptic(tai päätteeseen sudo synaptic) ja etsi paketti wxvlc(tai mikä tahansa se nyt onkin) ja merkitse hiiren kakkosella poistettavaksi, jos aikoo poistaa ison listan tiedostoja niin peru, mutta mietitään sitä sitten mahdollisesti  myöhemmin.
Miksi tehdä jotain helposti, kun sen voi tehdä vaikeastikin...

Kupuntu

  • Käyttäjä
  • Viestejä: 804
  • Kubuntu 8.10 @ Amilo A1645
    • Profiili
Re: Broken packages
« Vastaus #6 : 26.03.06 - klo:14.45 »
Koodia: [Valitse]
deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted


## Uncomment the following two lines to fetch updated software from the network
# deb http://fi.archive.ubuntu.com/ubuntu breezy main restricted
# deb-src http://fi.archive.ubuntu.com/ubuntu breezy main restricted

## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
# deb http://fi.archive.ubuntu.com/ubuntu breezy-updates main restricted
# deb-src http://fi.archive.ubuntu.com/ubuntu breezy-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
 deb http://fi.archive.ubuntu.com/ubuntu breezy universe
 deb-src http://fi.archive.ubuntu.com/ubuntu breezy universe

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
 deb http://fi.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
 deb-src http://fi.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

# deb http://security.ubuntu.com/ubuntu breezy-security main restricted
# deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

#deb http://security.ubuntu.com/ubuntu breezy-security universe
#deb-src http://security.ubuntu.com/ubuntu breezy-security universe

#deb http://wine.sourceforge.net/apt/ binary/
#deb-src http://wine.sourceforge.net/apt/ source/

deb http://download.skype.com/linux/repos/debian/ stable non-free


Tuollaiselta se siis näyttää.
Komentoi toi rivi:
Koodia: [Valitse]
deb http://download.skype.com/linux/repos/debian/ stable non-freelaittamalla #-merrki sen rivin eteen. Sitten lisää sinne seuraava rivi:
Koodia: [Valitse]
## Plf
deb http://packages.freecontrib.org/ubuntu/plf/ breezy free non-free
deb-src http://packages.freecontrib.org/ubuntu/plf/ breezy free non-free
Tuolta löytyy sekä skype että java ja paljon muutakin.
Amilo A1645: AMD 3300+ 2.0 Ghz, 512 mb RAM, 80 gb kiintolevy.
Last.fm