[+]Centrum Oprogramowania zamyka się automatycznie

Tematy związane z oprogramowaniem, instalacją, konfiguracją
Awatar użytkownika
Yampress
Administrator
Posty: 6365
Rejestracja: 09 sierpnia 2007, 21:41
Lokalizacja: PL

Re: Centrum Oprogramowania zamyka się automatycznie

Post autor: Yampress »

wystarcza 4 wpisy
viewtopic.php?t=34652

3 pierwsze plus 4ty wpis o backportach dla Stretcha...
Aragorn
Posty: 16
Rejestracja: 12 lutego 2018, 12:38

Re: Centrum Oprogramowania zamyka się automatycznie

Post autor: Aragorn »

Zostawiłem tylko 4 wpisy, lista wygląda następująco:

Kod: Zaznacz cały

ron@debian:~$ cat /etc/apt/sources.list


deb http://deb.debian.org/debian stretch main contrib non-free
deb http://deb.debian.org/debian stretch-updates main contrib non-free
deb http://security.debian.org/debian-security/ stretch/updates main contrib non-free

deb http://ftp.pl.debian.org/debian/ stretch-backports main contrib non-free
Kiedy jednak zrobiłem

Kod: Zaznacz cały

sudo apt update && apt full-upgrade
pojawił się następujący problem:

Kod: Zaznacz cały

ron@debian:~$ sudo apt update && apt full-upgrade
[sudo] hasło użytkownika ron: 
Stary:1 http://repo.steampowered.com/steam precise InRelease
Pobieranie:2 http://ftp.pl.debian.org/debian stretch-backports InRelease [91,8 kB]
Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease                   
Ign:4 http://ppa.launchpad.net/krzemin/qnapi/ubuntu artful InRelease           
Stary:5 http://security.debian.org/debian-security stretch/updates InRelease   
Stary:6 http://repository.spotify.com stable InRelease                         
Ign:7 http://deb.debian.org/debian stretch InRelease                           
Stary:8 https://repo.skype.com/deb stable InRelease                            
Stary:9 http://deb.debian.org/debian stretch-updates InRelease                 
Stary:10 http://dl.google.com/linux/chrome/deb stable Release                  
Stary:11 http://deb.debian.org/debian stretch Release                          
Pobieranie:12 http://ppa.launchpad.net/noobslab/icons/ubuntu artful InRelease [15,4 kB]
Pobieranie:13 http://ftp.pl.debian.org/debian stretch-backports/main amd64 Packages [322 kB]
Pobieranie:14 http://ppa.launchpad.net/noobslab/themes/ubuntu artful InRelease [15,4 kB]
Pobieranie:15 http://ftp.pl.debian.org/debian stretch-backports/main Translation-en [223 kB]
Pobieranie:16 http://ftp.pl.debian.org/debian stretch-backports/contrib amd64 Packages [7100 B]
Pobieranie:17 http://ftp.pl.debian.org/debian stretch-backports/contrib Translation-en [5770 B]
Pobieranie:18 http://ftp.pl.debian.org/debian stretch-backports/non-free amd64 Packages [18,1 kB]
Pobieranie:19 http://ftp.pl.debian.org/debian stretch-backports/non-free Translation-en [24,3 kB]
Błąd:20 http://ppa.launchpad.net/krzemin/qnapi/ubuntu artful Release           
  404  Not Found
Stary:21 https://download.sublimetext.com apt/stable/ InRelease                
Błąd:12 http://ppa.launchpad.net/noobslab/icons/ubuntu artful InRelease
  Następujące podpisy nie mogły zostać zweryfikowane z powodu braku klucza publicznego: NO_PUBKEY D530E028F59EAE4D
Błąd:14 http://ppa.launchpad.net/noobslab/themes/ubuntu artful InRelease
  Następujące podpisy nie mogły zostać zweryfikowane z powodu braku klucza publicznego: NO_PUBKEY D530E028F59EAE4D
Czytanie list pakietów... Gotowe
E: The repository 'http://ppa.launchpad.net/krzemin/qnapi/ubuntu artful 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.
W: Błąd GPG: http://ppa.launchpad.net/noobslab/icons/ubuntu artful InRelease: Następujące podpisy nie mogły zostać zweryfikowane z powodu braku klucza publicznego: NO_PUBKEY D530E028F59EAE4D
E: The repository 'http://ppa.launchpad.net/noobslab/icons/ubuntu artful InRelease' is not signed.
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.
W: Błąd GPG: http://ppa.launchpad.net/noobslab/themes/ubuntu artful InRelease: Następujące podpisy nie mogły zostać zweryfikowane z powodu braku klucza publicznego: NO_PUBKEY D530E028F59EAE4D
E: The repository 'http://ppa.launchpad.net/noobslab/themes/ubuntu artful InRelease' is not signed.
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.
Dziękuję za wyrozumiałość i przepraszam jeśli niektóre rzeczy "łopatologicznie" musicie mi tłumaczyć.
Awatar użytkownika
LordRuthwen
Moderator
Posty: 2302
Rejestracja: 18 września 2009, 21:45
Lokalizacja: klikash?

Re: Centrum Oprogramowania zamyka się automatycznie

Post autor: LordRuthwen »

Kod: Zaznacz cały

ls -a /etc/apt/sources.list.d/
A potem wywal stamtąd launchpady.
Aragorn
Posty: 16
Rejestracja: 12 lutego 2018, 12:38

Re: Centrum Oprogramowania zamyka się automatycznie

Post autor: Aragorn »

Kod: Zaznacz cały

ron@debian:~$ sudo ls -a /etc/apt/sources.list.d/
.   google-chrome.list		      noobslab-ubuntu-icons-artful.list       noobslab-ubuntu-themes-artful.list       skype-stable.list  spotify.list.save  sublime-text.list
..  krzemin-ubuntu-qnapi-artful.list  noobslab-ubuntu-icons-artful.list.save  noobslab-ubuntu-themes-artful.list.save  spotify.list	  steam.list

Kod: Zaznacz cały

ron@debian:~$ sudo apt update && apt full-upgrade
Stary:1 http://ftp.pl.debian.org/debian stretch-backports InRelease
Stary:2 http://repo.steampowered.com/steam precise InRelease                                                                                                                   
Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                   
Stary:4 http://security.debian.org/debian-security stretch/updates InRelease                                                                                                   
Ign:5 http://deb.debian.org/debian stretch InRelease                                                                                         
Ign:6 http://ppa.launchpad.net/krzemin/qnapi/ubuntu artful InRelease                                                                         
Stary:7 http://deb.debian.org/debian stretch-updates InRelease                                                   
Stary:8 http://repository.spotify.com stable InRelease                                                                               
Stary:9 https://repo.skype.com/deb stable InRelease                                                                                  
Stary:10 http://dl.google.com/linux/chrome/deb stable Release                                                                        
Stary:11 http://deb.debian.org/debian stretch Release                                                                                
Błąd:14 http://ppa.launchpad.net/krzemin/qnapi/ubuntu artful Release                 
  404  Not Found
Pobieranie:12 http://ppa.launchpad.net/noobslab/icons/ubuntu artful InRelease [15,4 kB]
Pobieranie:13 http://ppa.launchpad.net/noobslab/themes/ubuntu artful InRelease [15,4 kB]
Stary:15 https://download.sublimetext.com apt/stable/ InRelease             
Błąd:12 http://ppa.launchpad.net/noobslab/icons/ubuntu artful InRelease
  Następujące podpisy nie mogły zostać zweryfikowane z powodu braku klucza publicznego: NO_PUBKEY D530E028F59EAE4D
Błąd:13 http://ppa.launchpad.net/noobslab/themes/ubuntu artful InRelease
  Następujące podpisy nie mogły zostać zweryfikowane z powodu braku klucza publicznego: NO_PUBKEY D530E028F59EAE4D
Czytanie list pakietów... Gotowe
E: The repository 'http://ppa.launchpad.net/krzemin/qnapi/ubuntu artful 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.
W: Błąd GPG: http://ppa.launchpad.net/noobslab/icons/ubuntu artful InRelease: Następujące podpisy nie mogły zostać zweryfikowane z powodu braku klucza publicznego: NO_PUBKEY D530E028F59EAE4D
E: The repository 'http://ppa.launchpad.net/noobslab/icons/ubuntu artful InRelease' is not signed.
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.
W: Błąd GPG: http://ppa.launchpad.net/noobslab/themes/ubuntu artful InRelease: Następujące podpisy nie mogły zostać zweryfikowane z powodu braku klucza publicznego: NO_PUBKEY D530E028F59EAE4D
E: The repository 'http://ppa.launchpad.net/noobslab/themes/ubuntu artful InRelease' is not signed.
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.
Awatar użytkownika
dedito
Moderator
Posty: 3512
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Re: Centrum Oprogramowania zamyka się automatycznie

Post autor: dedito »

Zostaw tylko google-chrome.list, skype-stable.list. Resztę przenieś gdzieś indziej, w razie czego można będzie jakieś repozytoria przywrócić gdybyśmy się zapędzili w usuwaniu.
Aragorn
Posty: 16
Rejestracja: 12 lutego 2018, 12:38

Re: Centrum Oprogramowania zamyka się automatycznie

Post autor: Aragorn »

Jak mogę uzyskać dostęp do tego katalogu i usunąć repozytoria?

Próbowałem znaleźć odpowiedzi w google, ale komenda:

Kod: Zaznacz cały

ron@debian:~$ sudo rm /etc/apt/source.list.d/krzemin-ubuntu-qnapi-artful.list
[sudo] hasło użytkownika ron: 
rm: nie można usunąć '/etc/apt/source.list.d/krzemin-ubuntu-qnapi-artful.list': Nie ma takiego pliku ani katalogu
niestety nie działa :/
Awatar użytkownika
dedito
Moderator
Posty: 3512
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Re: Centrum Oprogramowania zamyka się automatycznie

Post autor: dedito »

Bo masz błąd w ścieżce.
Korzystaj z klawisza tab on uzupełnia ścieżki i polecenia.
I nie korzystaj z rm tylko mv, ze względu na to co już pisałem aby mieć dostęp w razie czego, jakby trzeba było coś przywrócić.
Możesz też zainstalować mc i mieć coś na wzór nortona comandera (jeśli wiesz co to jest) lub total comandera ale w wersji na tekstowej.
Aragorn
Posty: 16
Rejestracja: 12 lutego 2018, 12:38

Re: Centrum Oprogramowania zamyka się automatycznie

Post autor: Aragorn »

Skopiowałem "ręcznie" pliki do inne katalogu przy użyciu

Kod: Zaznacz cały

gksudo nautilus
bo komendę 'mv' nie bardzo rozumiem.

Teraz tak to wygląda:

Kod: Zaznacz cały

ron@debian:~$ sudo apt update && apt full-upgrade
[sudo] hasło użytkownika ron: 
Pobieranie:1 http://ftp.pl.debian.org/debian stretch-backports InRelease [91,8 kB]
Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease                   
Ign:3 http://deb.debian.org/debian stretch InRelease                           
Pobieranie:4 http://security.debian.org/debian-security stretch/updates InRelease [94,3 kB]
Pobieranie:5 http://deb.debian.org/debian stretch-updates InRelease [91,0 kB]  
Stary:6 http://dl.google.com/linux/chrome/deb stable Release                   
Stary:7 https://repo.skype.com/deb stable InRelease                            
Stary:8 http://deb.debian.org/debian stretch Release           
Pobrano 277 kB w 0s (335 kB/s)
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności       
Odczyt informacji o stanie... Gotowe
105 packages can be upgraded. Run 'apt list --upgradable' to see them.
E: Nie udało się otworzyć pliku blokady /var/lib/dpkg/lock - open (13: Brak dostępu)
E: Nie udało się zablokować katalogu administracyjnego (/var/lib/dpkg/), czy użyto uprawnień administratora?
MC wygląda jak Norton Commander, z którego kiedyś korzystałem jak używałem DOS-a (lata .90) :)

CO dalej się zamyka... Hmm.
Awatar użytkownika
dedito
Moderator
Posty: 3512
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Re: Centrum Oprogramowania zamyka się automatycznie

Post autor: dedito »

W ogóle upgrade się nie wykonał.
Zrestartuj system bo jakiś proces blokuje apt.
Aragorn
Posty: 16
Rejestracja: 12 lutego 2018, 12:38

Re: Centrum Oprogramowania zamyka się automatycznie

Post autor: Aragorn »

Zrestartowałem komputer i dalej pojawia się następujący komunikat:

Kod: Zaznacz cały

ron@debian:~$ sudo apt update && apt full-upgrade
[sudo] hasło użytkownika ron: 
Stary:1 http://ftp.pl.debian.org/debian stretch-backports InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease                           
Stary:3 http://security.debian.org/debian-security stretch/updates InRelease   
Ign:4 http://dl.google.com/linux/chrome/deb stable InRelease                   
Stary:5 http://deb.debian.org/debian stretch-updates InRelease                 
Stary:6 http://dl.google.com/linux/chrome/deb stable Release                   
Stary:7 http://deb.debian.org/debian stretch Release     
Stary:8 https://repo.skype.com/deb stable InRelease      
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności       
Odczyt informacji o stanie... Gotowe
105 packages can be upgraded. Run 'apt list --upgradable' to see them.
E: Nie udało się otworzyć pliku blokady /var/lib/dpkg/lock - open (13: Brak dostępu)
E: Nie udało się zablokować katalogu administracyjnego (/var/lib/dpkg/), czy użyto uprawnień administratora?
Zablokowany