Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Strony: 1
Cios ten zadany mi został w trakcie stawiania nowego debiana.
root@localhost:/# aptitude install mc The following NEW packages will be installed: libglib2.0-0{a} libgpm2{a} libssh2-1{a} mc mc-data{a} The following packages are RECOMMENDED but will NOT be installed: libglib2.0-data mime-support shared-mime-info unzip 0 packages upgraded, 5 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/3886 kB of archives. After unpacking 10.7 MB will be used. Do you want to continue? [Y/n/?] perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "pl_PL.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory E: Sub-process gzip returned an error code (100) E: Prior errors apply to /var/cache/apt/archives/libgpm2_1.20.4-6.1_amd64.deb E: Prior errors apply to /var/cache/apt/archives/libglib2.0-0_2.36.4-1_amd64.deb E: Prior errors apply to /var/cache/apt/archives/libssh2-1_1.4.3-1_amd64.deb E: Prior errors apply to /var/cache/apt/archives/mc-data_3%3a4.8.10-4_all.deb E: Prior errors apply to /var/cache/apt/archives/mc_3%3a4.8.10-4_amd64.deb debconf: apt-extracttemplates failed: No such file or directory E: Can not write log (Is /dev/pts mounted?) - openpty (2: No such file or directory) dpkg: warning: 'sh' not found in PATH or not executable dpkg: warning: 'rm' not found in PATH or not executable dpkg: warning: 'tar' not found in PATH or not executable dpkg: warning: 'ldconfig' not found in PATH or not executable dpkg: warning: 'start-stop-daemon' not found in PATH or not executable dpkg: error: 5 expected programs not found in PATH or not executable Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin E: Sub-process /usr/bin/dpkg returned an error code (2) A package failed to install. Trying to recover: dpkg: warning: 'sh' not found in PATH or not executable dpkg: warning: 'rm' not found in PATH or not executable dpkg: warning: 'tar' not found in PATH or not executable dpkg: warning: 'ldconfig' not found in PATH or not executable dpkg: warning: 'start-stop-daemon' not found in PATH or not executable dpkg: error: 5 expected programs not found in PATH or not executable Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
Ostatnio edytowany przez einsam (2013-11-30 20:54:10)
Offline
A takie banalne:
dpkg-reconfigure locales
nic nie zmienia?
Offline
locales to chyba trzeba w ogóle zainstalować najpierw. Co do /dev/pts – wystarczy go zbindować. Co do PATH – pokaż:
echo $PATH ls -l /bin/rm
Nic się nie sypało podczas debootstrap? Z jakiego systemu się chrootujesz?
Offline
root@localhost:/# dpkg-reconfigure locales bash: dpkg-reconfigure: command not found root@localhost:/# echo $PATH /usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/core_perl
Offline
W sumie nie wiem czy warto walczyć z tym. Nie możesz jeszcze raz debootstrap puścić? Nic się czasem przy nim nie sypało poprzednim razem?
PS Co do dpkg-reconfigure:
/usr/sbin/dpkg-reconfigure
/usr/sbin akurat nie masz w PATH.
Offline
Niby nic się nie sypnęło...
Ekhem, z Archa...
Chyba trzeba będzie zaorać:
root@localhost:/# ls -l /bin/rm bash: ls: command not found
ArnVaker napisał(-a):
PS Co do dpkg-reconfigure:
Kod:
/usr/sbin/dpkg-reconfigure/usr/sbin akurat nie masz w PATH.
Właśnie, chodzi o to abyś sprawił, żeby był...
Offline
W Archu było kiedyś jakieś zamieszanie z przenoszeniem katalogów gdzie ludziom systemy padały, pewnie stąd nie ma sbin. :) Spróbuj:
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Offline
No widzisz, jesteś geniuszem.
Dzięki.
root@localhost:/# aptitude install mc The following NEW packages will be installed: libglib2.0-0{a} libgpm2{a} libssh2-1{a} mc mc-data{a} The following packages are RECOMMENDED but will NOT be installed: libglib2.0-data mime-support shared-mime-info unzip 0 packages upgraded, 5 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/3886 kB of archives. After unpacking 10.7 MB will be used. Do you want to continue? [Y/n/?] perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "pl_PL.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory E: Can not write log (Is /dev/pts mounted?) - openpty (2: No such file or directory) Selecting previously unselected package libgpm2:amd64. (Reading database ... 10945 files and directories currently installed.) Unpacking libgpm2:amd64 (from .../libgpm2_1.20.4-6.1_amd64.deb) ... Selecting previously unselected package libglib2.0-0:amd64. Unpacking libglib2.0-0:amd64 (from .../libglib2.0-0_2.36.4-1_amd64.deb) ... Selecting previously unselected package libssh2-1:amd64. Unpacking libssh2-1:amd64 (from .../libssh2-1_1.4.3-1_amd64.deb) ... Selecting previously unselected package mc-data. Unpacking mc-data (from .../mc-data_3%3a4.8.10-4_all.deb) ... Selecting previously unselected package mc. Unpacking mc (from .../mc_3%3a4.8.10-4_amd64.deb) ... Processing triggers for man-db ... locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory E: Can not write log (Is /dev/pts mounted?) - openpty (2: No such file or directory) Setting up libgpm2:amd64 (1.20.4-6.1) ... Setting up libglib2.0-0:amd64 (2.36.4-1) ... No schema files found: doing nothing. Setting up libssh2-1:amd64 (1.4.3-1) ... Setting up mc-data (3:4.8.10-4) ... Setting up mc (3:4.8.10-4) ... update-alternatives: using /usr/bin/mcview to provide /usr/bin/view (view) in auto mode Processing triggers for libc-bin ...
Offline
Jeszcze zbinduj /dev/pts, doinstaluj i skonfiguruj locales, i powinno być wszystko.
Offline
Chyba, będzie ok.
Tak się zastanawiam, nad nvidią, od "początku linuksa' instaluję na Debianie pobraną binarkę, ale zaczęło mnie to męczyć...
W Archu jakoś nie ma problemów ze sterami z repo, może czas zmienić metodę?
Offline
W Debianie też generalnie nie ma problemów ze sterami z repo. Z binarką ze strony Nvidii jest tylko taki problem, że trzeba co jakiś czas pobierać i instalować nową wersję.
Offline
Generalnie zgrywałem instalację nowego jaja i sterów z padnięciem akceleracji, po jakiejś aktualizacji.
Offline
Konieczność reinstalacji po aktualizacjach akurat można obejść: http://forum.dug.net.pl/viewtopic.php?pid=192566#p192566, a dla nowego kernela tylko budować moduł z poziomu starego, np.:
sh /home/arnvaker/NVIDIA-Linux-x86_64-302.17-no-compat32.run -K -k 3.4-trunk-amd64 -a
Ale z repo i tak wygodniej – instalujesz raz i to wszystko.
Offline
Tak.
Znam to, ale po trosze nie zdążyłem wdrożyć, a po trosze nie chciało mi się...
Offline
Strony: 1