doch hplip wurde mitinstalliert:
Code: Alles auswählen
The following additional packages will be installed:
hplip printer-driver-postscript-hp
Meine hplip.conf von zu Hause sieht aehnlich aus.
Gruesse
Veit
Code: Alles auswählen
The following additional packages will be installed:
hplip printer-driver-postscript-hp
Die frage wäre z.B. was das Skript daran hindert, die geforderte Datei zu bilden ?hplip.conf. Generated from hplip.conf.in by configure.
Code: Alles auswählen
ls -la /etc/hp
NAB hat geschrieben:03.03.2018 23:26:20Ja, fehlt denn die /etc/hp/hplip.conf weiterhin trotz purge/install?
Daraus hatte ich geschlossen, dass sie nicht da ist. Aber vielleicht hat er nur nicht nachgesehen
Code: Alles auswählen
~$ hp-testpage
Code: Alles auswählen
root@PX6-330:~# hp-testpage
bash: hp-testpage: Kommando nicht gefunden.
root@PX6-330:~# exit
exit
vdvogt@PX6-330:~$ hp-testpage
bash: hp-testpage: Kommando nicht gefunden.
Code: Alles auswählen
dpkg -L hplip
/.
/etc
/etc/dbus-1
/etc/dbus-1/system.d
/etc/dbus-1/system.d/com.hp.hplip.conf
/usr
/usr/bin
/usr/lib
/usr/lib/cups
/usr/lib/cups/backend
/usr/lib/cups/backend/hp
/usr/lib/cups/backend/hpfax
/usr/lib/cups/driver
/usr/lib/cups/driver/hplip
/usr/lib/cups/filter
/usr/lib/cups/filter/hpps
/usr/lib/cups/filter/pstotiff
/usr/lib/python3
/usr/lib/python3/dist-packages
/usr/lib/python3/dist-packages/cupsext.cpython-36m-x86_64-linux-gnu.so
/usr/lib/python3/dist-packages/hpmudext.cpython-36m-x86_64-linux-gnu.so
/usr/lib/python3/dist-packages/pcardext.cpython-36m-x86_64-linux-gnu.so
/usr/lib/python3/dist-packages/scanext.cpython-36m-x86_64-linux-gnu.so
und weiter.....
/var
/var/lib
/var/lib/hp
/var/log
/var/log/hp
/var/log/hp/tmp
/usr/bin/hp-align
/usr/bin/hp-check
/usr/bin/hp-clean
/usr/bin/hp-colorcal
/usr/bin/hp-config_usb_printer
/usr/bin/hp-doctor
/usr/bin/hp-firmware
/usr/bin/hp-info
/usr/bin/hp-levels
/usr/bin/hp-logcapture
/usr/bin/hp-makeuri
/usr/bin/hp-pkservice
/usr/bin/hp-plugin
/usr/bin/hp-probe
/usr/bin/hp-query
/usr/bin/hp-scan
/usr/bin/hp-setup
/usr/bin/hp-testpage
/usr/bin/hp-timedate
Code: Alles auswählen
dpkg -L hplip
/.
/etc
/etc/dbus-1
/etc/dbus-1/system.d
/etc/dbus-1/system.d/com.hp.hplip.conf
/lib
/lib/udev
/lib/udev/rules.d
/lib/udev/rules.d/56-hpmud.rules
/usr
/usr/bin
/usr/lib
/usr/lib/cups
/usr/lib/cups/backend
/usr/lib/cups/backend/hp
/usr/lib/cups/backend/hpfax
/usr/lib/cups/filter
/usr/lib/cups/filter/hpps
/usr/lib/cups/filter/pstotiff
/usr/lib/python3
/usr/lib/python3/dist-packages
/usr/lib/python3/dist-packages/cupsext.cpython-35m-x86_64-linux-gnu.so
/usr/lib/python3/dist-packages/hpmudext.cpython-35m-x86_64-linux-gnu.so
/usr/lib/python3/dist-packages/pcardext.cpython-35m-x86_64-linux-gnu.so
/usr/lib/python3/dist-packages/scanext.cpython-35m-x86_64-linux-gnu.so
/usr/share
/usr/share/bug
/usr/share/bug/hplip
/usr/share/bug/hplip/presubj
/usr/share/bug/hplip/script
/usr/share/cups
/usr/share/cups/mime
/usr/share/cups/mime/pstotiff.convs
/usr/share/cups/mime/pstotiff.types
/usr/share/dbus-1
/usr/share/dbus-1/system-services
/usr/share/dbus-1/system-services/com.hp.hplip.service
/usr/share/doc
/usr/share/doc/hplip
/usr/share/doc/hplip/NEWS.Debian.gz
/usr/share/doc/hplip/changelog.Debian.gz
/usr/share/doc/hplip/copyright
/usr/share/doc/hplip/users-guide.txt
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/hp-align.1.gz
/usr/share/man/man1/hp-check.1.gz
/usr/share/man/man1/hp-clean.1.gz
/usr/share/man/man1/hp-colorcal.1.gz
/usr/share/man/man1/hp-config_usb_printer.1.gz
/usr/share/man/man1/hp-doctor.1.gz
/usr/share/man/man1/hp-firmware.1.gz
/usr/share/man/man1/hp-info.1.gz
/usr/share/man/man1/hp-levels.1.gz
/usr/share/man/man1/hp-logcapture.1.gz
/usr/share/man/man1/hp-makeuri.1.gz
/usr/share/man/man1/hp-pkservice.1.gz
/usr/share/man/man1/hp-plugin.1.gz
/usr/share/man/man1/hp-probe.1.gz
/usr/share/man/man1/hp-query.1.gz
/usr/share/man/man1/hp-scan.1.gz
/usr/share/man/man1/hp-setup.1.gz
/usr/share/man/man1/hp-testpage.1.gz
/usr/share/man/man1/hp-timedate.1.gz
/usr/share/polkit-1
/usr/share/polkit-1/actions
/usr/share/polkit-1/actions/com.hp.hplip.policy
/var
/var/lib
/var/lib/hp
/var/log
/var/log/hp
/var/log/hp/tmp
/usr/bin/hp-align
/usr/bin/hp-check
/usr/bin/hp-clean
/usr/bin/hp-colorcal
/usr/bin/hp-config_usb_printer
/usr/bin/hp-doctor
/usr/bin/hp-firmware
/usr/bin/hp-info
/usr/bin/hp-levels
/usr/bin/hp-logcapture
/usr/bin/hp-makeuri
/usr/bin/hp-pkservice
/usr/bin/hp-plugin
/usr/bin/hp-probe
/usr/bin/hp-query
/usr/bin/hp-scan
/usr/bin/hp-setup
/usr/bin/hp-testpage
/usr/bin/hp-timedate
Code: Alles auswählen
$ ls -lGg /usr/bin |grep hp-
Daran liegt es garantiert nicht. Ich benutze abwechselnd apt bzw. wajig, das mit apt-get Kommandos arbeitet.Kann das daran liegen, dass ich eine Zeit lang mit apt, anstatt mit apt-get gearbeitet habe?
Das muessten die Entwickler mal testen, ob apt wirklich so funktioniert wie es funktionieren soll.
Code: Alles auswählen
lrwxrwxrwx 1 23 Mai 4 2017 hp-align -> ../share/hplip/align.py
lrwxrwxrwx 1 23 Mai 4 2017 hp-check -> ../share/hplip/check.py
lrwxrwxrwx 1 23 Mai 4 2017 hp-clean -> ../share/hplip/clean.py
lrwxrwxrwx 1 26 Mai 4 2017 hp-colorcal -> ../share/hplip/colorcal.py
lrwxrwxrwx 1 36 Mai 4 2017 hp-config_usb_printer -> ../share/hplip/config_usb_printer.py
lrwxrwxrwx 1 24 Mai 4 2017 hp-doctor -> ../share/hplip/doctor.py
lrwxrwxrwx 1 26 Mai 4 2017 hp-firmware -> ../share/hplip/firmware.py
lrwxrwxrwx 1 22 Mai 4 2017 hp-info -> ../share/hplip/info.py
lrwxrwxrwx 1 24 Mai 4 2017 hp-levels -> ../share/hplip/levels.py
lrwxrwxrwx 1 28 Mai 4 2017 hp-logcapture -> ../share/hplip/logcapture.py
lrwxrwxrwx 1 25 Mai 4 2017 hp-makeuri -> ../share/hplip/makeuri.py
lrwxrwxrwx 1 27 Mai 4 2017 hp-pkservice -> ../share/hplip/pkservice.py
lrwxrwxrwx 1 24 Mai 4 2017 hp-plugin -> ../share/hplip/plugin.py
lrwxrwxrwx 1 23 Mai 4 2017 hp-probe -> ../share/hplip/probe.py
lrwxrwxrwx 1 23 Mai 4 2017 hp-query -> ../share/hplip/query.py
lrwxrwxrwx 1 22 Mai 4 2017 hp-scan -> ../share/hplip/scan.py
lrwxrwxrwx 1 23 Mai 4 2017 hp-setup -> ../share/hplip/setup.py
lrwxrwxrwx 1 26 Mai 4 2017 hp-testpage -> ../share/hplip/testpage.py
lrwxrwxrwx 1 26 Mai 4 2017 hp-timedate -> ../share/hplip/timedate.py
Code: Alles auswählen
hp-testpage
Code: Alles auswählen
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ "`id -u`" -eq 0 ]; then
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
else
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
fi
export PATH
if [ "${PS1-}" ]; then
if [ "${BASH-}" ] && [ "$BASH" != "/bin/sh" ]; then
# The file bash.bashrc already sets the default PS1.
# PS1='\h:\w\$ '
if [ -f /etc/bash.bashrc ]; then
. /etc/bash.bashrc
fi
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
fi
if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi
Richtig. Und? Kannst du
Code: Alles auswählen
/usr/share/hplip/testpage.py
Code: Alles auswählen
cd /usr/share/hplip
/usr/share/hplip$ ls -al
insgesamt 20
drwxr-xr-x 2 root root 4096 Mär 14 16:56 .
drwxr-xr-x 400 root root 16384 Mär 14 16:56 ..
testpage.py
bash: /usr/share/hplip/testpage.py: Datei oder Verzeichnis nicht gefunden
Code: Alles auswählen
#!/bin/bash
echo "=====> update"
#apt update
apt-get update
echo "=====> upgrade"
#apt upgrade
apt-get -f upgrade -y
#echo "=====> full-upgrade"
#apt full-upgrade
echo "=====> dist-upgrade"
apt-get -f dist-upgrade -y
echo "=====> autoclean"
apt-get autoclean -y
echo "=====> autoremove"
apt-get autoremove -y