Strona 1 z 1

[+] Sub-process /usr/bin/dpkg returned an error code (1) - WD Mybook Live

: 12 marca 2013, 22:00
autor: weed
Próbuję zainstalować Transmission, próbowałem też mc i nie działa.

Może mi ktoś pomóc?

Kod: Zaznacz cały

MyBookLiveDuo:~# uname -a
Linux MyBookLiveDuo 2.6.32.11-svn70860 #1 Thu May 17 13:32:51 PDT 2012 ppc GNU/Linux

Kod: Zaznacz cały

MyBookLiveDuo:~# cat /etc/debian_version
5.0.4


Kod: Zaznacz cały

MyBookLiveDuo:~# apt-get update
Hit [URL]http://ftp.us.debian.org[/URL] squeeze Release.gpg
Hit [URL]http://ftp.us.debian.org[/URL] wheezy Release.gpg
Hit [URL]http://ftp.us.debian.org[/URL] squeeze Release
Hit [URL]http://ftp.us.debian.org[/URL] wheezy Release
Ign [URL]http://ftp.us.debian.org[/URL] squeeze/main Packages/DiffIndex
Hit [URL]http://ftp.us.debian.org[/URL] wheezy/main Packages/DiffIndex
Hit [URL]http://ftp.us.debian.org[/URL] squeeze/main Packages
Reading package lists... Done
MyBookLiveDuo:~#

Kod: Zaznacz cały

MyBookLiveDuo:~# apt-get install transmission-daemon
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  e2fsprogs: PreDepends: e2fslibs (= 1.41.12-2) but 1.42.5-1 is to be installed
  transmission-daemon: Depends: libcurl3-gnutls (>= 7.16.2) but it is not going to be installed
                       Depends: libevent-2.0-5 (>= 2.0.10-stable) but it is not going to be installed
                       Depends: libminiupnpc5 but it is not going to be installed
                       Depends: libnatpmp1 but it is not going to be installed
                       Depends: libssl1.0.0 (>= 1.0.0) but it is not going to be installed
                       Depends: transmission-common (= 2.52-3+nmu1) but it is not going to be installed
                       Recommends: transmission-cli (>= 1.50-1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
MyBookLiveDuo:~#

Kod: Zaznacz cały

MyBookLiveDuo:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  e2fsprogs
Suggested packages:
  gpart e2fsck-static
The following packages will be upgraded:
  e2fsprogs
1 upgraded, 0 newly installed, 0 to remove and 324 not upgraded.
Need to get 0B/987kB of archives.
After this operation, 191kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ...
dpkg: warning: files list file for package `ramlog' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libparted0' missing, assuming package has no files currently installed.
(Reading database ... 19477 files and directories currently installed.)
Preparing to replace e2fsprogs 1.41.12-2 (using .../e2fsprogs_1.42.5-1_powerpc.deb) ...
Unpacking replacement e2fsprogs ...
Replaced by files in installed package util-linux ...
dpkg: error processing /var/cache/apt/archives/e2fsprogs_1.42.5-1_powerpc.deb (--unpack):
 unable to create `/usr/share/man/man8/mke2fs.8.gz.dpkg-new' (while processing `./usr/share/man/man8/mke2fs.8.gz'): No such file or directory
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/e2fsprogs_1.42.5-1_powerpc.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


: 13 marca 2013, 13:53
autor: Rafal_F
Używasz debiana Lenny (5.0), a w sources.list posiadasz wpisy do wersji squeeze (6.0), oraz wheezy (7.0). To prosta droga to katastrofy. Zaktualizuj system przynajmniej do aktualnej wersji stabilnej (6.0). Jeżeli będziesz chciał zaktualizować system do wersji testowej, to zrób to po kolei: 5.0 => 6.0 => 7.0.
W internecie jest mnóstwo materiałów na temat aktualizacji debiana, użyj google.

: 13 marca 2013, 14:27
autor: weed
A czy można zmienić zawartość pliku /etc/apt/source.list?

Ten system jest na WD Mybook Live, aktualnie mam zainstalowane aktualizację wydana przez producenta. Nie wiem jak aktualizacja Debiana wpłynie na funkcjonalność samego NAS i jego aplikacji.

: 13 marca 2013, 15:39
autor: Rafal_F
To znaczy, że to producent tak wszystko skonfigurował?
Nie wiem jak to wszystko działa, i czy w razie czego będzie można w łatwy sposób reinstalować oprogramowanie. Może lepiej zostaw, ewentualnie przeszukaj internet.
Co do problemu możesz sprawdzić, czy ścieżka do pliku:

Kod: Zaznacz cały

/usr/share/man/man8/mke2fs.8.gz.dpkg-new
istnieje, jeżeli nie to spróbuj ją utworzyć.

: 13 marca 2013, 20:34
autor: weed
Może producent inaczej to skonfigurował. Ja przywracałem system z liveCD po wcześniejszym uwaleniu go przy instalacji MC :(

: 13 marca 2013, 21:59
autor: Rafal_F
Dobra, zostaw to jak jest. Sprawdziłeś, czy ścieżka do pliku istnieje?
To widziałeś: http://www.highlevelbits.fr/index.php?o ... 81&lang=en
http://www.highlevelbits.fr/index.php?o ... 82&lang=en

: 13 marca 2013, 23:23
autor: weed
Nie ma takiej ścieżki. jak ją utworzyć, same katalogi?

Udało się zainstalować przez Feature Pack Manager, ale nadal mam problem z mc.

Kod: Zaznacz cały

MyBookLiveDuo:~# apt-get update
Hit [url]http://archive.debian.org[/url] lenny Release.gpg
Get:1 [url]http://archive.debian.org[/url] lenny/updates Release.gpg [836B]
Hit [url]http://archive.debian.org[/url] lenny Release
Hit [url]http://archive.debian.org[/url] lenny/updates Release
Ign [url]http://archive.debian.org[/url] lenny/main Packages/DiffIndex
Ign [url]http://archive.debian.org[/url] lenny/contrib Packages/DiffIndex
Ign [url]http://archive.debian.org[/url] lenny/non-free Packages/DiffIndex
Ign [url]http://archive.debian.org[/url] lenny/main Sources/DiffIndex
Ign [url]http://archive.debian.org[/url] lenny/contrib Sources/DiffIndex
Ign [url]http://archive.debian.org[/url] lenny/non-free Sources/DiffIndex
Get:2 [url]http://archive.debian.org[/url] lenny/updates Release [92.4kB]
Hit [url]http://archive.debian.org[/url] lenny/main Packages
Hit [url]http://archive.debian.org[/url] lenny/contrib Packages
Hit [url]http://archive.debian.org[/url] lenny/non-free Packages
Hit [url]http://archive.debian.org[/url] lenny/main Sources
Hit [url]http://archive.debian.org[/url] lenny/contrib Sources
Ign [url]http://archive.debian.org[/url] lenny/updates Release
Hit [url]http://archive.debian.org[/url] lenny/non-free Sources
Ign [url]http://archive.debian.org[/url] lenny/updates/main Packages/DiffIndex
Ign [url]http://archive.debian.org[/url] lenny/updates/main Sources/DiffIndex
Hit [url]http://archive.debian.org[/url] lenny/updates/main Packages
Hit [url]http://archive.debian.org[/url] lenny/updates/main Sources
Fetched 93.2kB in 1s (47.6kB/s)
Reading package lists... Done
W: GPG error: [url]http://archive.debian.org[/url] lenny/updates Release: The following signatures were invalid: KEYEXPIRED 1356982504
W: You may want to run apt-get update to correct these problems


: 14 marca 2013, 01:56
autor: Rafal_F
Chodziło o utworzenie samych katalogów, ale jak już zainstalowałeś, to nie ważne.
Odnośnie mc to załóż nowy temat, żeby nie robić zamieszania. I podaj listing z próby instalacji, bo powyższe to tylko listing z:

Kod: Zaznacz cały

apt-get update