hp deskjet 1510, errori

Riconoscimento, installazione e configurazione delle periferiche.
Avatar utente
danny l-asinello
Prode Principiante
Messaggi: 85
Iscrizione: mercoledì 31 luglio 2019, 18:56
Desktop: ubuntustudio.
Distribuzione: ubuntu studio 20.04.5
Sesso: Maschile
Località: trentino

Re: hp deskjet 1510, errori

Messaggio da danny l-asinello »

ivantu ha scritto:
domenica 19 marzo 2023, 17:05
Kernel: 5.15.0-67-lowlatency #74~20.04.1-Ubuntu SMP PREEMPT Wed Feb 22 17:01:40 UTC 2023 GNU/Linux
Hai un motivo per utilizzare kernel lowlatency?
Hai installato un kernel generic sul sistema? o hai soltanto il lowlatency?
prova avviare il sistema con kernel generic. e prova la stampante.
ho installato il sistema da live con tutte le impostazioni predefinite..
a dire il vero non so bene di cosa parliamo a riguardo di kernel.. cioè a dirla tutta non lo so assolutamente :S

ivantu ha scritto:
domenica 19 marzo 2023, 17:05
Plugins are not installed. Could not access file: No such file or directory
dai questi

Codice: Seleziona tutto

sudo apt update
sudo apt full-upgrade
hp-plugin -i

Codice: Seleziona tutto

godspeed_7@UN45H:~$ sudo apt update
[sudo] password di godspeed_7: 
Trovato:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Trovato:2 http://it.archive.ubuntu.com/ubuntu focal InRelease
Trovato:3 http://it.archive.ubuntu.com/ubuntu focal-updates InRelease
Trovato:4 http://it.archive.ubuntu.com/ubuntu focal-backports InRelease
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
7 pacchetti possono essere aggiornati: eseguire "apt list --upgradable" per vederli.
godspeed_7@UN45H:~$ sudo apt full-upgrade
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
Calcolo dell'aggiornamento... Fatto
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  libgraphicsmagick-q16-3 libavformat58 libavfilter7 ffmpeg liburiparser1
  libswresample3 libgegl-0.4-0 libzmq5 python2.7-minimal libhdf5-103
  libgegl-common libpython2.7 python2.7 libmediainfo0v5 libpostproc55
  libavcodec-extra libjs-jquery-ui libavutil56 libavdevice58 libswscale5
  libopenexr24 libsdl2-2.0-0 libmysofa1 libpython2.7-minimal
  libgraphicsmagick++-q16-12 libhdf5-openmpi-103 libavcodec-extra58 libdcmtk14
  libpython2.7-stdlib libavresample4
Learn more about Ubuntu Pro at https://ubuntu.com/pro
I seguenti pacchetti saranno aggiornati:
  libpython3.8 libpython3.8-dev libpython3.8-minimal libpython3.8-stdlib
  python3.8 python3.8-dev python3.8-minimal
7 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
7 standard LTS security updates
È necessario scaricare 0 B/10,8 MB di archivi.
Dopo quest'operazione, verranno occupati 11,3 kB di spazio su disco.
Continuare? [S/n] s
(Lettura del database... 455730 file e directory attualmente installati.)
Preparativi per estrarre .../0-python3.8-dev_3.8.10-0ubuntu1~20.04.7_amd64.deb..
.
Estrazione di python3.8-dev (3.8.10-0ubuntu1~20.04.7) su (3.8.10-0ubuntu1~20.04.
6)...
Preparativi per estrarre .../1-libpython3.8-dev_3.8.10-0ubuntu1~20.04.7_amd64.de
b...
Estrazione di libpython3.8-dev:amd64 (3.8.10-0ubuntu1~20.04.7) su (3.8.10-0ubunt
u1~20.04.6)...
Preparativi per estrarre .../2-libpython3.8_3.8.10-0ubuntu1~20.04.7_amd64.deb...
Estrazione di libpython3.8:amd64 (3.8.10-0ubuntu1~20.04.7) su (3.8.10-0ubuntu1~2
0.04.6)...
Preparativi per estrarre .../3-python3.8_3.8.10-0ubuntu1~20.04.7_amd64.deb...
Estrazione di python3.8 (3.8.10-0ubuntu1~20.04.7) su (3.8.10-0ubuntu1~20.04.6)..
.
Preparativi per estrarre .../4-libpython3.8-stdlib_3.8.10-0ubuntu1~20.04.7_amd64
.deb...
Estrazione di libpython3.8-stdlib:amd64 (3.8.10-0ubuntu1~20.04.7) su (3.8.10-0ub
untu1~20.04.6)...
Preparativi per estrarre .../5-python3.8-minimal_3.8.10-0ubuntu1~20.04.7_amd64.d
eb...
Estrazione di python3.8-minimal (3.8.10-0ubuntu1~20.04.7) su (3.8.10-0ubuntu1~20
.04.6)...
Preparativi per estrarre .../6-libpython3.8-minimal_3.8.10-0ubuntu1~20.04.7_amd6
4.deb...
Estrazione di libpython3.8-minimal:amd64 (3.8.10-0ubuntu1~20.04.7) su (3.8.10-0u
buntu1~20.04.6)...
Configurazione di libpython3.8-minimal:amd64 (3.8.10-0ubuntu1~20.04.7)...
Configurazione di python3.8-minimal (3.8.10-0ubuntu1~20.04.7)...
Configurazione di libpython3.8-stdlib:amd64 (3.8.10-0ubuntu1~20.04.7)...
Configurazione di python3.8 (3.8.10-0ubuntu1~20.04.7)...
Configurazione di libpython3.8:amd64 (3.8.10-0ubuntu1~20.04.7)...
Configurazione di libpython3.8-dev:amd64 (3.8.10-0ubuntu1~20.04.7)...
Configurazione di python3.8-dev (3.8.10-0ubuntu1~20.04.7)...
Elaborazione dei trigger per mime-support (3.64ubuntu1)...
Elaborazione dei trigger per libc-bin (2.31-0ubuntu9.9)...
Elaborazione dei trigger per man-db (2.9.1-1)...
Elaborazione dei trigger per desktop-file-utils (0.24-1ubuntu3)...
godspeed_7@UN45H:~$ hp-plugin -i

HP Linux Imaging and Printing System (ver. 3.20.3)
Plugin Download and Install Utility ver. 2.1

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.


HP Linux Imaging and Printing System (ver. 3.20.3)
Plugin Download and Install Utility ver. 2.1

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


-----------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.20.3 |
-----------------------------------------

  Option      Description                                       
  ----------  --------------------------------------------------
  d           Download plug-in from HP (recommended)            
  p           Specify a path to the plug-in (advanced)          
  q           Quit hp-plugin (skip installation)                

Enter option (d=download*, p=specify path, q=quit) ? d

-------------------
| DOWNLOAD PLUGIN |
-------------------

Checking for network connection...
Downloading plug-in from: 
Downloading plug-in: [\                                   ] 0%Importing digital key
 

----------------------
| INSTALLING PLUG-IN |
----------------------

Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.3 Plugin Self Extracting Archive..............................................................

HP Linux Imaging and Printing System (ver. 3.20.3)
Plugin Installer ver. 3.0

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Plug-in version: 3.20.3
Installed HPLIP version: 3.20.3
Number of files to install: 64

You must agree to the license terms before installing the plug-in:

LICENSE TERMS FOR HP Linux Imaging and Printing (HPLIP) Driver Plug-in          


These License Terms govern your Use of the HPLIP Driver Plug-in Software (the   
"Software"). USE OF THE SOFTWARE INCLUDING, WITHOUT LIMITATION, ANY             
DOCUMENTATION, IS SUBJECT TO THESE LICENSE TERMS AND THE APPLICABLE AS-IS       
WARRANTY STATEMENT. BY DOWNLOADING AND INSTALLING THE SOFTWARE, YOU ARE AGREEING
TO BE BOUND BY THESE TERMS. IF YOU DO NOT AGREE TO ALL OF THESE TERMS, DO NOT   
DOWNLOAD AND INSTALL THE SOFTWARE ON YOUR SYSTEM.                               


1. License Grant. HP grants you a license to Use one copy of the Software with  
HP printing products only. "Use" includes using, storing, loading, installing,  
executing, and displaying the Software. You may not modify the Software or      
disable any licensing or control features of the Software.                      


2. Ownership. The Software is owned and copyrighted by HP or its third party    
suppliers. Your license confers no title to, or ownership in, the Software and  
is not a sale of any rights in the Software. HP's third party suppliers may     
protect their rights in the Software in the event of any violation of these     
license terms.                                                                  


3. Copies and Adaptations. You may only make copies or adaptations of the       
Software for archival purposes or when copying or adaptation is an essential    
step in the authorized Use of the Software. You must reproduce all copyright    
notices in the original Software on all copies or adaptations. You may not copy 
the Software onto any public network.                                           


4. No Disassembly. You may not Disassemble the Software unless HP's prior       
written consent is obtained. "Disassemble" includes disassembling, decompiling, 
decrypting, and reverse engineering. In some jurisdictions, HP's consent may not
be required for limited Disassembly. Upon request, you will provide HP with     
reasonably detailed information regarding any Disassembly.                      


5. No Transfer. You may not assign, sublicense or otherwise transfer all or any 
part of these License Terms or the Software.                                    


6. Termination. HP may terminate your license, upon notice, for failure to      
comply with any of these License Terms. Upon termination, you must immediately  
destroy the Software, together with all copies, adaptations and merged portions 
in any form.                                                                    


7. Export Requirements. You may not export or re-export the Software or any copy
or adaptation in violation of any applicable laws or regulations.               


8. U.S. Government Restricted Rights. The Software has been developed entirely  
at private expense. It is delivered and licensed, as defined in any applicable  
DFARS, FARS, or other equivalent federal agency regulation or contract clause,  
as either "commercial computer software" or "restricted computer software",     
whichever is applicable. You have only those rights provided for such Software  
by the applicable clause or regulation or by these License Terms.               


9. DISCLAIMER OF WARRANTIES. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, 
HP AND ITS SUPPLIERS PROVIDE THE SOFTWARE "AS IS" AND WITH ALL FAULTS, AND      
HEREBY DISCLAIM ALL OTHER WARRANTIES AND CONDITIONS, EITHER EXPRESS, IMPLIED, OR
STATUTORY, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF TITLE AND               
NON-INFRINGEMENT, ANY IMPLIED WARRANTIES, DUTIES OR CONDITIONS OF               
MERCHANTABILITY, OF FITNESS FOR A PARTICULAR PURPOSE, AND OF LACK OF VIRUSES ALL
WITH REGARD TO THE SOFTWARE. Some states/jurisdictions do not allow exclusion of
implied warranties or limitations on the duration of implied warranties, so the 
above disclaimer may not apply to you in its entirety.                          


10. LIMITATION OF LIABILITY. Notwithstanding any damages that you might incur,  
the entire liability of HP and any of its suppliers under any provision of this 
agreement and your exclusive remedy for all of the foregoing shall be limited to
the greater of the amount actually paid by you separately for the Software or   
U.S. $5.00. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL
HP OR ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL,                      
INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, BUT NOT LIMITED TO,   
DAMAGES FOR LOSS OF PROFITS OR CONFIDENTIAL OR OTHER INFORMATION, FOR BUSINESS  
INTERRUPTION, FOR PERSONAL INJURY, FOR LOSS OF PRIVACY ARISING OUT OF OR IN ANY 
WAY RELATED TO THE USE OF OR INABILITY TO USE THE SOFTWARE, OR OTHERWISE IN     
CONNECTION WITH ANY PROVISION OF THIS AGREEMENT, EVEN IF HP OR ANY SUPPLIER HAS 
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES AND EVEN IF THE REMEDY FAILS OF 
ITS ESSENTIAL PURPOSE. Some states/jurisdictions do not allow the exclusion or  
limitation of incidental or consequential damages, so the above limitation or   
exclusion may not apply to you.                                                 

Do you accept the license terms for the plug-in (y=yes*, n=no, q=quit) ? y
Please enter the sudoer (godspeed_7)'s password: 
 
Done.
 
Done.
godspeed_7@UN45H:~$ 
ivantu ha scritto:
domenica 19 marzo 2023, 17:05

un problema, è che il comando hp-doctor è contradditorio rispetto all'avvio di cups.service
il primo dice che non è avviato, mentre il secondo sta correndo (active: running), ma non riesce a creare /var/spool
posta qui l'output di terminale

Codice: Seleziona tutto

ls -la /var/
ls -la /var/spool

Codice: Seleziona tutto

godspeed_7@UN45H:~$ ls -la /var/
totale 56
drwxr-xr-x 14 root root     4096 ago 31  2022 .
drwxr-xr-x 20 root root     4096 feb 19 12:48 ..
drwxr-xr-x  2 root root     4096 mar 20 10:16 backups
drwxr-xr-x 19 root root     4096 feb 20 14:25 cache
drwxrwsrwt  2 root whoopsie 4096 mar 17 11:44 crash
drwxr-xr-x 74 root root     4096 mar 10 19:39 lib
drwxrwsr-x  2 root staff    4096 apr 15  2020 local
lrwxrwxrwx  1 root root        9 feb 19 12:46 lock -> /run/lock
drwxrwxr-x 12 root syslog   4096 mar 20 09:51 log
drwxrwsr-x  2 root mail     4096 ago 31  2022 mail
drwxrwsrwt  2 root whoopsie 4096 ago 31  2022 metrics
drwxr-xr-x  2 root root     4096 ago 31  2022 opt
lrwxrwxrwx  1 root root        4 feb 19 12:46 run -> /run
drwxr-xr-x  2 root root     4096 mag 11  2022 snap
drwxr-xr-x  7 root root     4096 ago 31  2022 spool
drwxrwxrwt  9 root root     4096 mar 20 10:46 tmp
godspeed_7@UN45H:~$ ls -la /var/spool
totale 28
drwxr-xr-x  7 root   root 4096 ago 31  2022 .
drwxr-xr-x 14 root   root 4096 ago 31  2022 ..
drwxr-xr-x  2 root   root 4096 feb 19 13:07 anacron
drwxr-xr-x  3 root   root 4096 ago 31  2022 cron
drwx--x---  3 root   lp   4096 ago 31  2022 cups
drwxr-xr-x  3 root   root 4096 ago 31  2022 libreoffice
lrwxrwxrwx  1 root   root    7 feb 19 12:46 mail -> ../mail
drwx------  2 syslog adm  4096 feb 11  2020 rsyslog
godspeed_7@UN45H:~$ 
ivantu
Rampante Reduce
Rampante Reduce
Messaggi: 6674
Iscrizione: sabato 8 giugno 2013, 9:25
Desktop: Ubuntu Lubuntu Mate
Distribuzione: 22.04 LTS; 23.10
Sesso: Maschile

Re: hp deskjet 1510, errori

Messaggio da ivantu »

sono stati installati tutti i plugin necessari.

La stampante adesso funziona? Hai riprovato?
se non funziona riporta, rifai nuovamente l'output di hp-doctor
Buona giornata utenti del forum. :ciao: ivantu
Avatar utente
danny l-asinello
Prode Principiante
Messaggi: 85
Iscrizione: mercoledì 31 luglio 2019, 18:56
Desktop: ubuntustudio.
Distribuzione: ubuntu studio 20.04.5
Sesso: Maschile
Località: trentino

Re: hp deskjet 1510, errori

Messaggio da danny l-asinello »

xsane la da sempre come occupata.

ecco l'output

Codice: Seleziona tutto

godspeed_7@UN45H:~$ hp-doctor

HP Linux Imaging and Printing System (ver. 3.20.3)
Self Diagnse Utility and Healing Utility ver. 1.0

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.


HP Linux Imaging and Printing System (ver. 3.20.3)
Self Diagnse Utility and Healing Utility ver. 1.0

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

 

Checking for Deprecated items....
No Deprecated items are found


Checking for HPLIP updates....
error: Failed to locate hp-upgrade utility


Checking for Dependencies....
warning: ubuntu-20.04 version is not supported. Using ubuntu-19.10 versions dependencies to verify and install...

---------------
| SYSTEM INFO |
---------------

 Kernel: 5.15.0-67-lowlatency #74~20.04.1-Ubuntu SMP PREEMPT Wed Feb 22 17:01:40 UTC 2023 GNU/Linux
 Host: UN45H
 Proc: 5.15.0-67-lowlatency #74~20.04.1-Ubuntu SMP PREEMPT Wed Feb 22 17:01:40 UTC 2023 GNU/Linux
 Distribution: ubuntu 20.04
 Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.20.3
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for ubuntu distro  20.04 version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.20.3

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip
html=/usr/share/doc/hplip-doc
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.20.3
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
class-driver=no


Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.20.3



Current contents of '~/.hplip/hplip.conf' file:
[commands]
scan = /usr/bin/simple-scan %SANE_URI%

[fax]
email_address = 
voice_phone = 

[installation]
date_time = 03/22/23 18:28:13
version = 3.20.3

[last_used]
device_uri = "hp:/usb/Deskjet_1510_series?serial=CN3BM1HMSR05YR"
printer_name = 
working_dir = .

[polling]
device_list = 
enable = false
interval = 5

[refresh]
enable = false
rate = 30
type = 1

[settings]
systray_messages = 0
systray_visible = 1

[upgrade]
last_upgraded_time = 1678474774
notify_upgrade = false
pending_upgrade_time = 0


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

-------------------------
| External Dependencies |
-------------------------

 error: cups          CUPS - Common Unix Printing System                           REQUIRED        1.1             -               INCOMPAT   'CUPS may not be installed or not running'
 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.50            OK         -
 xsane                xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             0.999           OK         -
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.29          OK         -
 dbus                 DBus - Message bus system                                    REQUIRED        -               1.12.16         OK         -
 policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.105           OK         -
 network              network -wget                                                OPTIONAL        -               1.20.3          OK         -
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.7             OK         -

------------------------
| General Dependencies |
------------------------

 libjpeg              libjpeg - JPEG library                                       REQUIRED        -               -               OK         -
 cups-devel           CUPS devel- Common Unix Printing System development files    REQUIRED        -               -               OK         -
 cups-image           CUPS image - CUPS image development files                    REQUIRED        -               -               OK         -
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               b'2.31'         OK         -
 libusb               libusb - USB library                                         REQUIRED        -               1.0             OK         -
 sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
 sane-devel           SANE - Scanning library development files                    REQUIRED        -               -               OK         -
 libnetsnmp-devel     libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           5.8             OK         -
 libcrypto            libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.1.1           OK         -
 python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.8.10          OK         -
 python3-notify2      Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               OK         -
 error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4                         OPTIONAL        4.0             -               MISSING    'python3-pyqt4-dbus needs to be installed'
 error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             -               MISSING    'python3-pyqt4 needs to be installed'
 python3-dbus         Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.16          OK         -
 python3-xml          Python XML libraries                                         REQUIRED        -               2.2.9           OK         -
 python3-devel        Python devel - Python development files                      REQUIRED        2.2             3.8.10          OK         -
 python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               7.0.0           OK         -
 python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             3.5.34          OK         -

--------------
| COMPILEDEP |
--------------

 libtool              libtool - Library building support services                  REQUIRED        -               2.4.6           OK         -
 gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               9.4.0           OK         -
 make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.2.1           OK         -

---------------------
| Python Extentions |
---------------------

 cupsext              CUPS-Extension                                               REQUIRED        -               3.20.3          OK         -
 hpmudext             IO-Extension                                                 REQUIRED        -               3.20.3          OK         -

----------------------
| Scan Configuration |
----------------------

'/etc/sane.d/dll.d/hpaio' not found.
 hpaio                HPLIP-SANE-Backend                                           REQUIRED        -               3.20.3          OK         'hpaio found in /etc/sane.d/dll.conf'
 scanext              Scan-SANE-Extension                                          REQUIRED        -               3.20.3          OK         -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

device `hpaio:/usb/Deskjet_1510_series?serial=CN3BM1HMSR05YR' is a Hewlett-Packard Deskjet_1510_series all-in-one
device `hpaio:/usb/Deskjet_1510_series?serial=CN3BM1HMSR05YR' is a Hewlett-Packard Deskjet_1510_series all-in-one


--------------------------
| DISCOVERED USB DEVICES |
--------------------------

  Device URI                        Model                 
  --------------------------------  ----------------------
  hp:/usb/Deskjet_1510_series?seri  HP Deskjet 1510 series
  al=CN3BM1HMSR05YR                                       

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

 
Deskjet-1510-series
-------------------
Type: Unknown
Device URI: usb://HP/Deskjet%201510%20series?serial=CN3BM1HMSR05YR&interface=1
PPD: /etc/cups/ppd/Deskjet-1510-series.ppd
warning: Failed to read /etc/cups/ppd/Deskjet-1510-series.ppd ppd file
PPD Description: 
Printer status: la stampante Deskjet-1510-series è inattiva.  è stata abilitata da mer 22 mar 2023, 18:27:36
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

Deskjet_1510
------------
Type: Printer
Device URI: hp:/usb/Deskjet_1510_series?serial=CN3BM1HMSR05YR
PPD: /etc/cups/ppd/Deskjet_1510.ppd
warning: Failed to read /etc/cups/ppd/Deskjet_1510.ppd ppd file
PPD Description: 
Printer status: la stampante Deskjet_1510 è inattiva.  è stata abilitata da mer 22 mar 2023, 18:27:36
Communication status: Good


--------------
| PERMISSION |
--------------

USB             Deskjet_1510                   Required        -        -        OK       Node:'/dev/bus/usb/001/006' Perm:'  root  lp rw- rw- rw- rw- r--'
Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing or 'cups' service is not running.
error: 'python3-pyqt4' package is missing/incompatible 
error: 'gtk2-engines-pixbuf' package is missing/incompatible 
Missing Optional Dependencies
-----------------------------
error: 'python3-dbus.mainloop.qt' package is missing/incompatible 


ENTER SUDO PASSWORD
-------------------
Please enter the sudoer (godspeed_7)'s password: 
 

Checking Permissions....


Checking for Configured Queues....
warning: Fail to read ppd=/etc/cups/ppd/Deskjet-1510-series.ppd file
warning: Insufficient permission to access file /etc/cups/ppd/Deskjet-1510-series.ppd
warning: Could not complete Queue(s) configuration check


Checking for HP Properitery Plugin's....
No plug-in printers are configured.
 
Diagnose completed...



More information on Troubleshooting,How-To's and Support is available on http://hplipopensource.com/hplip-web/index.html
godspeed_7@UN45H:~$ 
Roberto Pontecorvi
Rampante Reduce
Rampante Reduce
Messaggi: 6618
Iscrizione: mercoledì 20 maggio 2009, 22:48
Distribuzione: 18.4 mate - 22.4 mate
Sesso: Maschile
Località: Versilia

Re: hp deskjet 1510, errori

Messaggio da Roberto Pontecorvi »

Checking for Dependencies....
warning: ubuntu-20.04 version is not supported. Using ubuntu-19.10 versions dependencies to verify and install...
ivantu
Rampante Reduce
Rampante Reduce
Messaggi: 6674
Iscrizione: sabato 8 giugno 2013, 9:25
Desktop: Ubuntu Lubuntu Mate
Distribuzione: 22.04 LTS; 23.10
Sesso: Maschile

Re: hp deskjet 1510, errori

Messaggio da ivantu »

@Roberto Pontecorvi
error: cups CUPS - Common Unix Printing System REQUIRED 1.1 - INCOMPAT 'CUPS may not be installed or not running'
io penso, se il servizio di cups.service non funziona,
non funzionerà nemmeno hplip. Non aggiornato o aggiornato che sia.

@danny l-asinello C'è qualche problema nella configurazione cupsd.
posta qui l'output ai comandi

Codice: Seleziona tutto

sudo systemctl restart cups.service
cat /var/log/cups/error_log
cat /etc/cups/cupsd.conf
groups & groups $USER
edit:
error: 'libcups2' package is missing or 'cups' service is not running.
error: 'python3-pyqt4' package is missing/incompatible
error: 'gtk2-engines-pixbuf' package is missing/incompatible
Missing Optional Dependencies
-----------------------------
error: 'python3-dbus.mainloop.qt' package is missing/incompatible
è probabile che sia il kernel lowlatency a bloccare, ed essere incompatibili questi pacchetti.

edit2:
è python3.8 ad essere vecchio. :)

edit3:
error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 - MISSING 'python3-pyqt4-dbus needs to be installed'
error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 - MISSING 'python3-pyqt4 needs to be installed'
una prova di installazione

Codice: Seleziona tutto

sudo apt install python3-pyqt4
Buona giornata utenti del forum. :ciao: ivantu
Avatar utente
Stealth
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 17349
Iscrizione: martedì 31 gennaio 2006, 22:55
Desktop: Gnome
Distribuzione: Ubuntu 22.04 LTS

Re: hp deskjet 1510, errori

Messaggio da Stealth »

A titolo di informazione, ho una hp laserjet connessa con la rete di casa, funzionano perfettamente sia la stampante che lo scanner
Immagine
Immagine

e questo è il mio hp-doctor con tutti gli errori del mondo. avendo io la 20.04 è compreso anche il warning "ubuntu-20.04 version is not supported. Using ubuntu-19.10 versions dependencies to verify and install..."

Codice: Seleziona tutto

utente@focal:~$ hp-doctor -i

HP Linux Imaging and Printing System (ver. 3.20.3)
Self Diagnse Utility and Healing Utility ver. 1.0

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.


HP Linux Imaging and Printing System (ver. 3.20.3)
Self Diagnse Utility and Healing Utility ver. 1.0

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

 

Checking for Deprecated items....
No Deprecated items are found


Checking for HPLIP updates....
error: Failed to locate hp-upgrade utility


Checking for Dependencies....
warning: ubuntu-20.04 version is not supported. Using ubuntu-19.10 versions dependencies to verify and install...

---------------
| SYSTEM INFO |
---------------

 Kernel: 5.4.0-144-generic #161-Ubuntu SMP Fri Feb 3 14:49:04 UTC 2023 GNU/Linux
 Host: focal
 Proc: 5.4.0-144-generic #161-Ubuntu SMP Fri Feb 3 14:49:04 UTC 2023 GNU/Linux
 Distribution: ubuntu 20.04
 Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.20.3
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for ubuntu distro  20.04 version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.20.3

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip
html=/usr/share/doc/hplip-doc
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.20.3
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
class-driver=no


Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.20.3



Current contents of '~/.hplip/hplip.conf' file:
[last_used]
device_uri = hp:/net/HP_LaserJet_Pro_MFP_M125nw?hostname=DEV10BCCB.local

[installation]
date_time = 03/23/23 13:37:08
version = 3.20.3


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

-------------------------
| External Dependencies |
-------------------------

 error: cups          CUPS - Common Unix Printing System                           REQUIRED        1.1             -               INCOMPAT   'CUPS may not be installed or not running'
 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.50            OK         -
 xsane                xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             0.999           OK         -
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.29          OK         -
 error: dbus          DBus - Message bus system                                    REQUIRED        -               1.12.16         MISSING    'DBUS may not be installed or not running'
 policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.105           OK         -
 network              network -wget                                                OPTIONAL        -               1.20.3          OK         -
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.7             OK         -

------------------------
| General Dependencies |
------------------------

 error: libjpeg       libjpeg - JPEG library                                       REQUIRED        -               -               MISSING    'libjpeg needs to be installed'
 error: cups-devel    CUPS devel- Common Unix Printing System development files    REQUIRED        -               -               MISSING    'cups-devel needs to be installed'
 error: cups-image    CUPS image - CUPS image development files                    REQUIRED        -               -               MISSING    'cups-image needs to be installed'
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               b'2.31'         OK         -
 error: libusb        libusb - USB library                                         REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
 sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
 error: sane-devel    SANE - Scanning library development files                    REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
 error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           -               MISSING    'libnetsnmp-devel needs to be installed'
 error: libcrypto     libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.1.1           MISSING    'libcrypto needs to be installed'
 python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.8.10          OK         -
 error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               MISSING    'python3-notify2 needs to be installed'
 error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4                         OPTIONAL        4.0             -               MISSING    'python3-pyqt4-dbus needs to be installed'
 error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             -               MISSING    'python3-pyqt4 needs to be installed'
 python3-dbus         Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.16          OK         -
 python3-xml          Python XML libraries                                         REQUIRED        -               2.2.9           OK         -
 python3-devel        Python devel - Python development files                      REQUIRED        2.2             3.8.10          OK         -
 python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               7.0.0           OK         -
 python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             3.5.34          OK         -

--------------
| COMPILEDEP |
--------------

 error: libtool       libtool - Library building support services                  REQUIRED        -               -               MISSING    'libtool needs to be installed'
 gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               9.4.0           OK         -
 make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.2.1           OK         -

---------------------
| Python Extentions |
---------------------

 cupsext              CUPS-Extension                                               REQUIRED        -               3.20.3          OK         -
 hpmudext             IO-Extension                                                 REQUIRED        -               3.20.3          OK         -

----------------------
| Scan Configuration |
----------------------

'/etc/sane.d/dll.d/hpaio' not found.
 hpaio                HPLIP-SANE-Backend                                           REQUIRED        -               3.20.3          OK         'hpaio found in /etc/sane.d/dll.conf'
 scanext              Scan-SANE-Extension                                          REQUIRED        -               3.20.3          OK         -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

device `hpaio:/net/hp_laserjet_pro_mfp_m125nw?ip=10.0.0.199&queue=false' is a Hewlett-Packard hp_laserjet_pro_mfp_m125nw all-in-one
device `hpaio:/net/hp_laserjet_pro_mfp_m125nw?ip=10.0.0.199&queue=false' is a Hewlett-Packard hp_laserjet_pro_mfp_m125nw all-in-one


--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

 

--------------
| PERMISSION |
--------------

Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing or 'cups' service is not running.
error: 'libdbus-1-dev' package is missing/incompatible 
error: 'libjpeg-dev' package is missing/incompatible 
error: 'libcups2-dev' package is missing or 'cups' service is not running.
error: 'cups-bsd' package is missing or 'cups' service is not running.
error: 'cups-client' package is missing or 'cups' service is not running.
error: 'libcupsimage2-dev' package is missing or 'cups' service is not running.
error: 'libusb-1.0.0-dev' package is missing/incompatible 
error: 'libusb-0.1-4' package is missing/incompatible 
error: 'libsane-dev' package is missing/incompatible 
error: 'libsnmp-dev' package is missing/incompatible 
error: 'snmp-mibs-downloader' package is missing/incompatible 
error: 'openssl' package is missing/incompatible 
error: 'python3-pyqt4' package is missing/incompatible 
error: 'gtk2-engines-pixbuf' package is missing/incompatible 
error: 'libtool' package is missing/incompatible 
error: 'libtool-bin' package is missing/incompatible 
Missing Optional Dependencies
-----------------------------
error: 'python3-notify2' package is missing/incompatible 
error: 'python3-dbus.mainloop.qt' package is missing/incompatible 


ENTER SUDO PASSWORD
-------------------
Please enter the sudoer (utente)'s password: 
 

Checking Permissions....


Checking for Configured Queues....
 
warning: No Queue(s) configured.


Checking for HP Properitery Plugin's....
No plug-in printers are configured.
 
Diagnose completed...



More information on Troubleshooting,How-To's and Support is available on http://hplipopensource.com/hplip-web/index.html
utente@focal:~$ 

Se qualcuno ha voglia di confrontarlo sono praticamente quasi identici a quello dell'OP. Era solo per dire che (ripeto, funziona TUTTO perfettamente) il problema secondo me è altrove
ivantu
Rampante Reduce
Rampante Reduce
Messaggi: 6674
Iscrizione: sabato 8 giugno 2013, 9:25
Desktop: Ubuntu Lubuntu Mate
Distribuzione: 22.04 LTS; 23.10
Sesso: Maschile

Re: hp deskjet 1510, errori

Messaggio da ivantu »

È il kernel diverso. Non vedo altre differenze
Buona giornata utenti del forum. :ciao: ivantu
Avatar utente
danny l-asinello
Prode Principiante
Messaggi: 85
Iscrizione: mercoledì 31 luglio 2019, 18:56
Desktop: ubuntustudio.
Distribuzione: ubuntu studio 20.04.5
Sesso: Maschile
Località: trentino

Re: hp deskjet 1510, errori

Messaggio da danny l-asinello »

Codice: Seleziona tutto

godspeed_7@UN45H:~$ sudo systemctl restart cups.service
godspeed_7@UN45H:~$ cat /var/log/cups/error_log
godspeed_7@UN45H:~$ cat /etc/cups/cupsd.conf
#
# Configuration file for the CUPS scheduler.  See "man cupsd.conf" for a
# complete description of this file.
#

# Log general information in error_log - change "warn" to "debug"
# for troubleshooting...
LogLevel warn
PageLogFormat

# Deactivate CUPS' internal logrotating, as we provide a better one, especially
# LogLevel debug2 gets usable now
MaxLogSize 0

# Only listen for connections from the local machine.
Listen localhost:631
Listen /run/cups/cups.sock

# Show shared printers on the local network.
Browsing Off
BrowseLocalProtocols dnssd

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Web interface setting...
WebInterface Yes

# Restrict access to the server...
<Location />
  Order allow,deny
</Location>

# Restrict access to the admin pages...
<Location /admin>
  Order allow,deny
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
</Location>

# Restrict access to log files...
<Location /admin/log>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
</Location>

# Set the default printer/job policies...
<Policy default>
  # Job/subscription privacy...
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default

  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    Order deny,allow
  </Limit>

  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # All printer operations require a printer operator to authenticate...
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

# Set the authenticated printer/job policies...
<Policy authenticated>
  # Job/subscription privacy...
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default

  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    AuthType Default
    Order deny,allow
  </Limit>

  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # All printer operations require a printer operator to authenticate...
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

# Set the kerberized printer/job policies...
<Policy kerberos>
  # Job/subscription privacy...
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default

  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    AuthType Negotiate
    Order deny,allow
  </Limit>

  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    AuthType Negotiate
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # All printer operations require a printer operator to authenticate...
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Negotiate
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>
godspeed_7@UN45H:~$ groups & groups $USER
[1] 7452
godspeed_7 adm cdrom sudo audio dip plugdev lpadmin sambashare
godspeed_7 : godspeed_7 adm cdrom sudo audio dip plugdev lpadmin sambashare
[1]+  Completato              groups
godspeed_7@UN45H:~$ 
tentativo di installazione

Codice: Seleziona tutto

godspeed_7@UN45H:~$ sudo apt install python3-pyqt4
[sudo] password di godspeed_7: 
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
E: Impossibile trovare il pacchetto python3-pyqt4
godspeed_7@UN45H:~$
ho dato un occhio e credo che il kernel a bassa latenza sia lì di default per i programmi audio essendo un'istallazione Ubuntu Studio

@wilecoyote avevi altre strade in mente?
ivantu
Rampante Reduce
Rampante Reduce
Messaggi: 6674
Iscrizione: sabato 8 giugno 2013, 9:25
Desktop: Ubuntu Lubuntu Mate
Distribuzione: 22.04 LTS; 23.10
Sesso: Maschile

Re: hp deskjet 1510, errori

Messaggio da ivantu »

danny l-asinello ha scritto:
sabato 25 marzo 2023, 16:31

Codice: Seleziona tutto

godspeed_7@UN45H:~$ sudo systemctl restart cups.service
godspeed_7@UN45H:~$ cat /var/log/cups/error_log
godspeed_7@UN45H:~$ cat /etc/cups/cupsd.conf
#
# Configuration file for the CUPS scheduler.  See "man cupsd.conf" for a
# complete description of this file.
#

# Log general information in error_log - change "warn" to "debug"
# for troubleshooting...
LogLevel warn
PageLogFormat

# Deactivate CUPS' internal logrotating, as we provide a better one, especially
# LogLevel debug2 gets usable now
MaxLogSize 0

# Only listen for connections from the local machine.
Listen localhost:631
Listen /run/cups/cups.sock

# Show shared printers on the local network.
Browsing Off
BrowseLocalProtocols dnssd

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Web interface setting...
WebInterface Yes

# Restrict access to the server...
<Location />
  Order allow,deny
</Location>

# Restrict access to the admin pages...
<Location /admin>
  Order allow,deny
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
</Location>

# Restrict access to log files...
<Location /admin/log>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
</Location>

# Set the default printer/job policies...
<Policy default>
  # Job/subscription privacy...
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default

  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    Order deny,allow
  </Limit>

  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # All printer operations require a printer operator to authenticate...
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

# Set the authenticated printer/job policies...
<Policy authenticated>
  # Job/subscription privacy...
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default

  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    AuthType Default
    Order deny,allow
  </Limit>

  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # All printer operations require a printer operator to authenticate...
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

# Set the kerberized printer/job policies...
<Policy kerberos>
  # Job/subscription privacy...
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default

  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    AuthType Negotiate
    Order deny,allow
  </Limit>

  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    AuthType Negotiate
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # All printer operations require a printer operator to authenticate...
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Negotiate
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>
godspeed_7@UN45H:~$ groups & groups $USER
[1] 7452
godspeed_7 adm cdrom sudo audio dip plugdev lpadmin sambashare
godspeed_7 : godspeed_7 adm cdrom sudo audio dip plugdev lpadmin sambashare
[1]+  Completato              groups
godspeed_7@UN45H:~$ 
tentativo di installazione

Codice: Seleziona tutto

godspeed_7@UN45H:~$ sudo apt install python3-pyqt4
[sudo] password di godspeed_7: 
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
E: Impossibile trovare il pacchetto python3-pyqt4
godspeed_7@UN45H:~$
ho dato un occhio e credo che il kernel a bassa latenza sia lì di default per i programmi audio essendo un'istallazione Ubuntu Studio

@wilecoyote avevi altre strade in mente?

ok, installa

Codice: Seleziona tutto

sudo apt install python3-pyqt5
edit: spegni e accendi la stampante. e riporta qui

Codice: Seleziona tutto

cat /var/log/cups/error_log
Buona giornata utenti del forum. :ciao: ivantu
Avatar utente
danny l-asinello
Prode Principiante
Messaggi: 85
Iscrizione: mercoledì 31 luglio 2019, 18:56
Desktop: ubuntustudio.
Distribuzione: ubuntu studio 20.04.5
Sesso: Maschile
Località: trentino

Re: hp deskjet 1510, errori

Messaggio da danny l-asinello »

(sulle ultime operazioni la stampante era scollegata)

Codice: Seleziona tutto

godspeed_7@UN45H:~$ sudo apt install python3-pyqt5
[sudo] password di godspeed_7: 
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
python3-pyqt5 è già alla versione più recente (5.14.1+dfsg-3build1).
È stato impostato python3-pyqt5 per l'installazione manuale.
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
godspeed_7@UN45H:~$ 

Codice: Seleziona tutto

godspeed_7@UN45H:~$ cat /var/log/cups/error_log
godspeed_7@UN45H:~$ cat /var/log/cups/error_log
godspeed_7@UN45H:~$ 



ivantu
Rampante Reduce
Rampante Reduce
Messaggi: 6674
Iscrizione: sabato 8 giugno 2013, 9:25
Desktop: Ubuntu Lubuntu Mate
Distribuzione: 22.04 LTS; 23.10
Sesso: Maschile

Re: hp deskjet 1510, errori

Messaggio da ivantu »

stampante non viene rilevata, mentre non viene creato nemmeno il file di log error. posta qui l'output.

Codice: Seleziona tutto

ls -la /var/log/cups/
il contenuto del file di log accessi al server di stampa con il comando

Codice: Seleziona tutto

cat -n /var/lor/cups/access_log
e l'output a questi comandi

Codice: Seleziona tutto

locate cupsd.conf
locate cups-files
cat -n /etc/cups/cups-files.conf
edit: forse credo di aver capito dov'è il problema. Intanto, posta l'output dei comandi. e ho bisogno di sapere se la stampante è connessa al computer tramite Wifi o usb.
Buona giornata utenti del forum. :ciao: ivantu
Avatar utente
danny l-asinello
Prode Principiante
Messaggi: 85
Iscrizione: mercoledì 31 luglio 2019, 18:56
Desktop: ubuntustudio.
Distribuzione: ubuntu studio 20.04.5
Sesso: Maschile
Località: trentino

Re: hp deskjet 1510, errori

Messaggio da danny l-asinello »

usb

Codice: Seleziona tutto

godspeed_7@UN45H:~$ ls -la /var/log/cups/
totale 48
drwxr-xr-x  2 root root   4096 mar 27 12:13 .
drwxrwxr-x 12 root syslog 4096 mar 27 20:04 ..
-rw-r-----  1 root adm    1374 mar 27 20:08 access_log
-rw-r-----  1 root adm    1608 mar 26 23:42 access_log.1
-rw-r-----  1 root adm     342 mar 26 00:00 access_log.2.gz
-rw-r-----  1 root adm     208 mar 24 14:15 access_log.3.gz
-rw-r-----  1 root adm     205 mar 24 00:00 access_log.4.gz
-rw-r-----  1 root adm     288 mar 23 00:00 access_log.5.gz
-rw-r-----  1 root adm     235 mar 21 19:21 access_log.6.gz
-rw-r-----  1 root adm     210 mar 20 22:05 access_log.7.gz
-rw-r-----  1 root adm       0 mar 16 00:00 error_log
-rw-r-----  1 root adm     596 mar 15 22:56 error_log.1
-rw-r-----  1 root adm     182 mar 10 19:41 error_log.2.gz
godspeed_7@UN45H:~$ 

Codice: Seleziona tutto

godspeed_7@UN45H:~$ cat -n /var/lor/cups/access_log
cat: /var/lor/cups/access_log: File o directory non esistente
godspeed_7@UN45H:~$ 

Codice: Seleziona tutto

godspeed_7@UN45H:~$ locate cupsd.conf
/etc/cups/cupsd.conf
/usr/share/cups/cupsd.conf.default
/usr/share/cups/doc-root/help/man-cupsd.conf.html
/usr/share/man/de/man5/cupsd.conf.5.gz
/usr/share/man/fr/man5/cupsd.conf.5.gz
/usr/share/man/man5/cupsd.conf.5.gz
godspeed_7@UN45H:~$ locate cups-files
/etc/cups/cups-files.conf
/usr/share/cups/cups-files.conf.default
/usr/share/cups/doc-root/help/man-cups-files.conf.html
/usr/share/man/de/man5/cups-files.conf.5.gz
/usr/share/man/fr/man5/cups-files.conf.5.gz
/usr/share/man/man5/cups-files.conf.5.gz
godspeed_7@UN45H:~$ cat -n /etc/cups/cups-files.conf
     1	#
     2	# File/directory/user/group configuration file for the CUPS scheduler.
     3	# See "man cups-files.conf" for a complete description of this file.
     4	#
     5	
     6	# List of events that are considered fatal errors for the scheduler...
     7	#FatalErrors config
     8	
     9	# Do we call fsync() after writing configuration or status files?
    10	#SyncOnClose Yes
    11	
    12	# Default user and group for filters/backends/helper programs; this cannot be
    13	# any user or group that resolves to ID 0 for security reasons...
    14	#User lp
    15	#Group lp
    16	
    17	# Administrator user group, used to match @SYSTEM in cupsd.conf policy rules...
    18	# This cannot contain the Group value for security reasons...
    19	SystemGroup lpadmin
    20	
    21	
    22	# User that is substituted for unauthenticated (remote) root accesses...
    23	#RemoteRoot remroot
    24	
    25	# Do we allow file: device URIs other than to /dev/null?
    26	#FileDevice No
    27	
    28	# Permissions for configuration and log files...
    29	#ConfigFilePerm 0640
    30	#LogFilePerm 00640
    31	
    32	# Location of the file logging all access to the scheduler; may be the name
    33	# "syslog". If not an absolute path, the value of ServerRoot is used as the
    34	# root directory.  Also see the "AccessLogLevel" directive in cupsd.conf.
    35	AccessLog /var/log/cups/access_log
    36	
    37	# Location of cache files used by the scheduler...
    38	#CacheDir /var/cache/cups
    39	
    40	# Location of data files used by the scheduler...
    41	#DataDir /usr/share/cups
    42	
    43	# Location of the static web content served by the scheduler...
    44	#DocumentRoot /usr/share/cups/doc-root
    45	
    46	# Location of the file logging all messages produced by the scheduler and any
    47	# helper programs; may be the name "syslog". If not an absolute path, the value
    48	# of ServerRoot is used as the root directory.  Also see the "LogLevel"
    49	# directive in cupsd.conf.
    50	ErrorLog /var/log/cups/error_log
    51	
    52	# Location of fonts used by older print filters...
    53	#FontPath /usr/share/cups/fonts
    54	
    55	# Location of LPD configuration
    56	#LPDConfigFile 
    57	
    58	# Location of the file logging all pages printed by the scheduler and any
    59	# helper programs; may be the name "syslog". If not an absolute path, the value
    60	# of ServerRoot is used as the root directory.  Also see the "PageLogFormat"
    61	# directive in cupsd.conf.
    62	PageLog /var/log/cups/page_log
    63	
    64	# Location of the file listing all of the local printers...
    65	#Printcap /run/cups/printcap
    66	
    67	# Format of the Printcap file...
    68	#PrintcapFormat bsd
    69	#PrintcapFormat plist
    70	#PrintcapFormat solaris
    71	
    72	# Location of all spool files...
    73	#RequestRoot /var/spool/cups
    74	
    75	# Location of helper programs...
    76	#ServerBin /usr/lib/cups
    77	
    78	# SSL/TLS keychain for the scheduler...
    79	#ServerKeychain ssl
    80	
    81	# Location of other configuration files...
    82	#ServerRoot /etc/cups
    83	
    84	# Location of Samba configuration file...
    85	#SMBConfigFile 
    86	
    87	# Location of scheduler state files...
    88	#StateDir /run/cups
    89	
    90	# Location of scheduler/helper temporary files. This directory is emptied on
    91	# scheduler startup and cannot be one of the standard (public) temporary
    92	# directory locations for security reasons...
    93	#TempDir /var/spool/cups/tmp
godspeed_7@UN45H:~$ 
ivantu
Rampante Reduce
Rampante Reduce
Messaggi: 6674
Iscrizione: sabato 8 giugno 2013, 9:25
Desktop: Ubuntu Lubuntu Mate
Distribuzione: 22.04 LTS; 23.10
Sesso: Maschile

Re: hp deskjet 1510, errori

Messaggio da ivantu »

Scusa ho sbagliato io,

Codice: Seleziona tutto

cat /var/log/cups/access_log
Buona giornata utenti del forum. :ciao: ivantu
Avatar utente
danny l-asinello
Prode Principiante
Messaggi: 85
Iscrizione: mercoledì 31 luglio 2019, 18:56
Desktop: ubuntustudio.
Distribuzione: ubuntu studio 20.04.5
Sesso: Maschile
Località: trentino

Re: hp deskjet 1510, errori

Messaggio da danny l-asinello »

ho appena avuto un warning di un errore sconosciuto su dipendenze irrisolte, e questo da terminale

Codice: Seleziona tutto

godspeed_7@UN45H:~$ sudo apt update
[sudo] password di godspeed_7: 
Trovato:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Trovato:2 http://it.archive.ubuntu.com/ubuntu focal InRelease
Trovato:3 http://it.archive.ubuntu.com/ubuntu focal-updates InRelease
Trovato:4 http://it.archive.ubuntu.com/ubuntu focal-backports InRelease
Lettura elenco dei pacchetti... Fatto                  
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
23 pacchetti possono essere aggiornati: eseguire "apt list --upgradable" per vederli.
godspeed_7@UN45H:~$ sudo apt upgrade
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
Calcolo dell'aggiornamento... Fatto
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  libgraphicsmagick-q16-3 libavformat58 libmagick++-6.q16-8 libavfilter7
  libimage-magick-perl ffmpeg liburiparser1 libmagickcore-6.q16-6-extra
  libimage-magick-q16-perl imagemagick libswresample3 libgegl-0.4-0 libzmq5
  python2.7-minimal libhdf5-103 libmagickwand-6.q16-6 libgegl-common
  libpython2.7 python2.7 libmediainfo0v5 libpostproc55 imagemagick-6.q16
  libavcodec-extra libjs-jquery-ui libavutil56 libavdevice58 libswscale5
  libopenexr24 libsdl2-2.0-0 libmysofa1 libmagickcore-6.q16-6
  libpython2.7-minimal libgraphicsmagick++-q16-12 libhdf5-openmpi-103
  libavcodec-extra58 libdcmtk14 libpython2.7-stdlib libavresample4
  imagemagick-6-common
Learn more about Ubuntu Pro at https://ubuntu.com/pro
I seguenti pacchetti NUOVI saranno installati:
  linux-headers-5.15.0-69-lowlatency linux-image-5.15.0-69-lowlatency
  linux-lowlatency-hwe-5.15-headers-5.15.0-69
  linux-modules-5.15.0-69-lowlatency
I seguenti pacchetti saranno aggiornati:
  bind9-dnsutils bind9-host bind9-libs firefox firefox-locale-en
  firefox-locale-it libgraphicsmagick++-q16-12 libgraphicsmagick-q16-3
  libsnmp-base libsnmp-dev libsnmp35 libunwind8
  linux-headers-lowlatency-hwe-20.04 linux-image-lowlatency-hwe-20.04
  linux-libc-dev linux-lowlatency-hwe-20.04 printer-driver-splix thunderbird
  thunderbird-locale-en thunderbird-locale-en-us thunderbird-locale-it
  update-notifier update-notifier-common
23 aggiornati, 4 installati, 0 da rimuovere e 0 non aggiornati.
10 standard LTS security updates
È necessario scaricare 110 MB/232 MB di archivi.
Dopo quest'operazione, verranno occupati 598 MB di spazio su disco.
Continuare? [S/n] s
Scaricamento di:1 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 update-notifier amd64 3.192.30.17 [56,4 kB]
Scaricamento di:2 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 update-notifier-common all 3.192.30.17 [173 kB]
Scaricamento di:3 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 bind9-dnsutils amd64 1:9.16.1-0ubuntu2.14 [134 kB]
Scaricamento di:4 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 bind9-libs amd64 1:9.16.1-0ubuntu2.14 [1.109 kB]
Scaricamento di:5 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 bind9-host amd64 1:9.16.1-0ubuntu2.14 [43,0 kB]
Scaricamento di:6 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 libsnmp-base all 5.8+dfsg-2ubuntu2.7 [206 kB]
Scaricamento di:7 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 libsnmp-dev amd64 5.8+dfsg-2ubuntu2.7 [1.153 kB]
Scaricamento di:8 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 libsnmp35 amd64 5.8+dfsg-2ubuntu2.7 [978 kB]
Scaricamento di:9 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 libunwind8 amd64 1.2.1-9ubuntu0.1 [47,7 kB]
Scaricamento di:10 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-lowlatency-hwe-5.15-headers-5.15.0-69 all 5.15.0-69.76~20.04.1 [12,0 MB]
Errore:11 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-5.15.0-69-lowlatency amd64 5.15.0-69.76~20.04.1
  502  Server Hangup [IP: 91.189.91.39 80]
Scaricamento di:12 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-modules-5.15.0-69-lowlatency amd64 5.15.0-69.76~20.04.1 [78,6 MB]
Scaricamento di:13 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-image-5.15.0-69-lowlatency amd64 5.15.0-69.76~20.04.1 [11,3 MB]
Scaricamento di:14 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-lowlatency-hwe-20.04 amd64 5.15.0.69.76~20.04.27 [1.928 B]
Scaricamento di:15 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-image-lowlatency-hwe-20.04 amd64 5.15.0.69.76~20.04.27 [2.648 B]
Scaricamento di:16 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-lowlatency-hwe-20.04 amd64 5.15.0.69.76~20.04.27 [2.548 B]
Scaricamento di:17 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-libc-dev amd64 5.4.0-146.163 [1.127 kB]
Recuperati 107 MB in 43s (2.510 kB/s)                                          
E: Impossibile recuperare http://it.archive.ubuntu.com/ubuntu/pool/main/l/linux-lowlatency-hwe-5.15/linux-headers-5.15.0-69-lowlatency_5.15.0-69.76~20.04.1_amd64.deb  502  Server Hangup [IP: 91.189.91.39 80]
E: Impossibile scaricare alcuni pacchetti. Potrebbe essere utile eseguire "apt-get update" o provare l'opzione "--fix-missing".
godspeed_7@UN45H:~$ --fix-missing
--fix-missing: comando non trovato
godspeed_7@UN45H:~$ 
Avatar utente
danny l-asinello
Prode Principiante
Messaggi: 85
Iscrizione: mercoledì 31 luglio 2019, 18:56
Desktop: ubuntustudio.
Distribuzione: ubuntu studio 20.04.5
Sesso: Maschile
Località: trentino

Re: hp deskjet 1510, errori

Messaggio da danny l-asinello »

Codice: Seleziona tutto

godspeed_7@UN45H:~$ cat /var/log/cups/access_log
localhost - - [28/Mar/2023:01:55:49 +0200] "POST / HTTP/1.1" 200 349 Create-Printer-Subscriptions successful-ok
localhost - - [28/Mar/2023:01:55:50 +0200] "POST / HTTP/1.1" 200 176 Create-Printer-Subscriptions successful-ok
localhost - - [28/Mar/2023:03:37:56 +0200] "POST / HTTP/1.1" 401 123 Cancel-Subscription successful-ok
localhost - root [28/Mar/2023:03:37:56 +0200] "POST / HTTP/1.1" 200 123 Cancel-Subscription successful-ok
localhost - - [28/Mar/2023:03:37:56 +0200] "POST / HTTP/1.1" 200 152 Cancel-Subscription successful-ok
localhost - - [28/Mar/2023:17:53:25 +0200] "POST / HTTP/1.1" 200 349 Create-Printer-Subscriptions successful-ok
localhost - - [28/Mar/2023:17:53:25 +0200] "POST / HTTP/1.1" 200 176 Create-Printer-Subscriptions successful-ok
localhost - - [28/Mar/2023:17:59:58 +0200] "POST / HTTP/1.1" 401 244 CUPS-Get-Devices successful-ok
localhost - root [28/Mar/2023:17:59:58 +0200] "POST / HTTP/1.1" 200 1776 CUPS-Get-Devices -
localhost - - [28/Mar/2023:18:00:00 +0200] "POST /admin/ HTTP/1.1" 401 135 Resume-Printer successful-ok
localhost - root [28/Mar/2023:18:00:00 +0200] "POST /admin/ HTTP/1.1" 200 135 Resume-Printer successful-ok
localhost - - [28/Mar/2023:18:00:00 +0200] "POST /admin/ HTTP/1.1" 401 128 Resume-Printer successful-ok
localhost - root [28/Mar/2023:18:00:00 +0200] "POST /admin/ HTTP/1.1" 200 128 Resume-Printer successful-ok
godspeed_7@UN45H:~$ 
ivantu
Rampante Reduce
Rampante Reduce
Messaggi: 6674
Iscrizione: sabato 8 giugno 2013, 9:25
Desktop: Ubuntu Lubuntu Mate
Distribuzione: 22.04 LTS; 23.10
Sesso: Maschile

Re: hp deskjet 1510, errori

Messaggio da ivantu »

stavo per scriverti, ora. Visto che ci sei...
postami qui l'output di questi comandi a terminale

Codice: Seleziona tutto

diff /etc/cups/cups-files.conf /usr/share/cups/cups-files.conf.default

Codice: Seleziona tutto

diff /etc/cups/cupsd.conf /usr/share/cups/cupsd.conf.default
edit: il comando per correggere i pacchetti, quale hai scritto, è sbagliato
quello corretto

Codice: Seleziona tutto

sudo apt --fix-missing update
Buona giornata utenti del forum. :ciao: ivantu
Avatar utente
danny l-asinello
Prode Principiante
Messaggi: 85
Iscrizione: mercoledì 31 luglio 2019, 18:56
Desktop: ubuntustudio.
Distribuzione: ubuntu studio 20.04.5
Sesso: Maschile
Località: trentino

Re: hp deskjet 1510, errori

Messaggio da danny l-asinello »

ah, ottimo grazie.
alla fine ho fatto un altro update il giorno seguente e ha risolto da solo pare.

invece:

Codice: Seleziona tutto

godspeed_7@UN45H:~$ diff /etc/cups/cups-files.conf /usr/share/cups/cups-files.conf.default
godspeed_7@UN45H:~$ diff /etc/cups/cupsd.conf /usr/share/cups/cupsd.conf.default
godspeed_7@UN45H:~$ 

ivantu
Rampante Reduce
Rampante Reduce
Messaggi: 6674
Iscrizione: sabato 8 giugno 2013, 9:25
Desktop: Ubuntu Lubuntu Mate
Distribuzione: 22.04 LTS; 23.10
Sesso: Maschile

Re: hp deskjet 1510, errori

Messaggio da ivantu »

danny l-asinello ha scritto:
giovedì 30 marzo 2023, 14:46
ah, ottimo grazie.
alla fine ho fatto un altro update il giorno seguente e ha risolto da solo pare.

invece:

Codice: Seleziona tutto

godspeed_7@UN45H:~$ diff /etc/cups/cups-files.conf /usr/share/cups/cups-files.conf.default
godspeed_7@UN45H:~$ diff /etc/cups/cupsd.conf /usr/share/cups/cupsd.conf.default
godspeed_7@UN45H:~$ 

Vedo che non segnala differenze, mi sembrava di aver notato delle differenze diverse dai miei.
posta l'output per favore

Codice: Seleziona tutto

cat /etc/cups/cupsd.conf | grep Browsing
cat /usr/share/cups/cupsd.conf.default | grep Browsing
Buona giornata utenti del forum. :ciao: ivantu
Avatar utente
danny l-asinello
Prode Principiante
Messaggi: 85
Iscrizione: mercoledì 31 luglio 2019, 18:56
Desktop: ubuntustudio.
Distribuzione: ubuntu studio 20.04.5
Sesso: Maschile
Località: trentino

Re: hp deskjet 1510, errori

Messaggio da danny l-asinello »

Codice: Seleziona tutto

godspeed_7@UN45H:~$ cat /etc/cups/cupsd.conf | grep Browsing
Browsing Off
godspeed_7@UN45H:~$ cat /usr/share/cups/cupsd.conf.default | grep Browsing
Browsing Off
godspeed_7@UN45H:~$ 

ivantu
Rampante Reduce
Rampante Reduce
Messaggi: 6674
Iscrizione: sabato 8 giugno 2013, 9:25
Desktop: Ubuntu Lubuntu Mate
Distribuzione: 22.04 LTS; 23.10
Sesso: Maschile

Re: hp deskjet 1510, errori

Messaggio da ivantu »

:perpless:
la stampante funziona? o risulta ancora occupata dal sistema?
Buona giornata utenti del forum. :ciao: ivantu
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: Bing [Bot] e 35 ospiti