Paketsystemet trasigt

Här diskuterar vi skal, kommandon och klassiska linuxverktyg.
Ainigma
Inlägg: 803
Blev medlem: 26 sep 2007, 20:49
OS: Ubuntu
Utgåva: 24.04 Noble Numbat LTS

Paketsystemet trasigt

Inlägg av Ainigma »

När jag försöker uppdatera får jag följande felmeddelande:

Kod: Markera allt

Paketsystemet trasigt
Kontrollera om du använder tredjepartsförråd. Inaktivera dem i så fall eftersom de är en vanlig problemkälla.
Kör även följande kommando i en terminal: apt-get install -f
Har inte gjort något ännu och har svårt att tro att det är tredjepartsförrådet. När jag kör via terminalen blir det:
andre@Megatron:~$ sudo apt update && sudo apt upgrade
[sudo] lösenord för andre:
Bra:1 http://se.archive.ubuntu.com/ubuntu bionic InRelease
Läs:2 http://se.archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Ign:3 http://ppa.launchpad.net/freefilesync/ffs/ubuntu bionic InRelease
Läs:4 http://se.archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Ign:5 http://dl.google.com/linux/chrome/deb stable InRelease
Läs:6 http://security.ubuntu.com/ubuntu bionic-security InRelease [83,2 kB]
Bra:7 https://desktop-download.mendeley.com/download/apt stable InRelease
Bra:8 http://ppa.launchpad.net/nathan-renniew ... lux/ubuntu bionic InRelease
Läs:9 http://dl.google.com/linux/chrome/deb stable Release [1 189 B]
Läs:10 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B]
Bra:11 https://deb.opera.com/opera-stable stable InRelease
Fel:12 http://ppa.launchpad.net/freefilesync/ffs/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Läs:13 http://se.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [204 kB]
Läs:14 http://se.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [186 kB]
Läs:15 http://se.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [138 kB]
Läs:16 http://se.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [31,4 kB]
Läs:17 http://se.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [53,7 kB]
Läs:18 http://se.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [129 kB]
Läs:19 http://se.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [129 kB]
Läs:20 http://se.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [57,7 kB]
Läs:21 http://se.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [125 kB]
Läs:22 http://se.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [124 kB]
Läs:23 http://se.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [213 kB]
Läs:24 http://se.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2 464 B]
Läs:25 http://se.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [5 100 B]
Läs:26 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1 397 B]
Läs:27 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [204 B]
Läs:28 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [37,4 kB]
Läs:29 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [37,5 kB]
Läs:30 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [21,7 kB]
Läs:31 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [2 452 B]
Ign:32 https://mega.nz/linux/MEGAsync/xUbuntu_18.04 ./ InRelease
Läs:33 https://mega.nz/linux/MEGAsync/xUbuntu_18.04 ./ Release [951 B]
Läser paketlistor… Färdig
E: The repository 'http://ppa.launchpad.net/freefilesync/ffs/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Kanske är det freefilesync som spökar på något sätt. Tacksam för råd. ???
Användarvisningsbild
johanre
Serveradmin
Inlägg: 3888
Blev medlem: 22 okt 2006, 09:13
OS: Ubuntu
Utgåva: 22.04 Jammy Jellyfish LTS
Ort: Malmö

Re: Paketsystemet trasigt

Inlägg av johanre »

Ainigma skrev:Kanske är det freefilesync som spökar på något sätt.
Det är precis det som är problemet. Du kan avaktivera freefilesync repot (som root) antingen i /etc/apt/sources.list eller i en av filerna i katalogen /etc/apt/sources.list.d/

När du har gjort det kan du köra:

Kod: Markera allt

sudo apt-get update ; apt-get upgrade
Ainigma
Inlägg: 803
Blev medlem: 26 sep 2007, 20:49
OS: Ubuntu
Utgåva: 24.04 Noble Numbat LTS

Re: Paketsystemet trasigt

Inlägg av Ainigma »

ok tack, Jag fick köra en
sudo apt --fix-broken install
också men efter det verkar det vara grönt! :)
Skriv svar

Återgå till "Terminalforum"