LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Leap 15.4: can't update cups (https://www.linuxquestions.org/questions/suse-opensuse-60/leap-15-4-cant-update-cups-4175725613/)

MakeTopSite 06-01-2023 01:23 PM

Leap 15.4: can't update cups
 
Code:

# zypper patch --cve=CVE-2023-32324
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 9 packages are going to be upgraded:
  cups cups-client cups-config libcups2 libcups2-32bit libcupscgi1 libcupsimage2 libcupsmime1 libcupsppdc1

The following NEW patch is going to be installed:
  openSUSE-SLE-15.4-2023-2347

9 packages to upgrade.
Overall download size: 7.9 MiB. Already cached: 0 B. No additional space will be used or freed after the operation.
Continue? [y/n/v/...? shows all options] (y):
Retrieving: cups-config-2.2.7-150000.3.43.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15)
                                                                                                (1/9), 240.5 KiB   
Retrieving delta: ./x86_64/cups-config-2.2.7-150000.3.40.1_150000.3.43.1.x86_64.drpm, 36.2 KiB
Retrieving: cups-config-2.2.7-150000.3.40.1_150000.3.43.1.x86_64.drpm .......................................[error]
Download (curl) error for 'http://download.opensuse.org/update/leap/15.4/sle/x86_64/cups-config-2.2.7-150000.3.40.1_150000.3.43.1.x86_64.drpm':
Error code: HTTP response: 500
Error message: The requested URL returned error: 500

Abort, retry, ignore? [a/r/i/...? shows all options] (a): r
Retrieving: cups-config-2.2.7-150000.3.40.1_150000.3.43.1.x86_64.drpm .......................................[error]
Download (curl) error for 'http://download.opensuse.org/update/leap/15.4/sle/x86_64/cups-config-2.2.7-150000.3.40.1_150000.3.43.1.x86_64.drpm':
Error code: HTTP response: 500
Error message: The requested URL returned error: 500

Abort, retry, ignore? [a/r/i/...? shows all options] (a): r
Retrieving: cups-config-2.2.7-150000.3.40.1_150000.3.43.1.x86_64.drpm .......................................[error]
Download (curl) error for 'http://download.opensuse.org/update/leap/15.4/sle/x86_64/cups-config-2.2.7-150000.3.40.1_150000.3.43.1.x86_64.drpm':
Error code: HTTP response: 500
Error message: The requested URL returned error: 500

Abort, retry, ignore? [a/r/i/...? shows all options] (a): r
Retrieving: cups-config-2.2.7-150000.3.40.1_150000.3.43.1.x86_64.drpm .......................................[error]
Download (curl) error for 'http://download.opensuse.org/update/leap/15.4/sle/x86_64/cups-config-2.2.7-150000.3.40.1_150000.3.43.1.x86_64.drpm':
Error code: HTTP response: 500
Error message: The requested URL returned error: 500

Abort, retry, ignore? [a/r/i/...? shows all options] (a):

Is there please any other option than wait when it will be fixed ?

mrmazda 06-02-2023 12:24 AM

Such things are usually mirror problems that will disappear if you wait long enough before retrying, sometimes a few minutes, sometimes a few hours, usually less than a day.

No problem here:
Code:

# zypper --no-refresh -v up
...
The following 10 packages are going to be upgraded:
  cups            2.2.7-150000.3.40.1 -> 2.2.7-150000.3.43.1
  cups-client    2.2.7-150000.3.40.1 -> 2.2.7-150000.3.43.1
  cups-config    2.2.7-150000.3.40.1 -> 2.2.7-150000.3.43.1
  cups-filters    1.25.0-3.3.1 -> 1.25.0-150200.3.6.1
  libcups2        2.2.7-150000.3.40.1 -> 2.2.7-150000.3.43.1
  libcups2-32bit  2.2.7-150000.3.40.1 -> 2.2.7-150000.3.43.1
  libcupscgi1    2.2.7-150000.3.40.1 -> 2.2.7-150000.3.43.1
  libcupsimage2  2.2.7-150000.3.40.1 -> 2.2.7-150000.3.43.1
  libcupsmime1    2.2.7-150000.3.40.1 -> 2.2.7-150000.3.43.1
  libcupsppdc1    2.2.7-150000.3.40.1 -> 2.2.7-150000.3.43.1

10 packages to upgrade.
Overall download size: 8.7 MiB. Already cached: 0 B. After the operation, additional 3.6 KiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
committing
...
Retrieving: cups-config-2.2.7-150000.3.43.1.x86_64 (UpdateSLE)                                                                                                          (1/10), 240.5 KiB
Retrieving: cups-config-2.2.7-150000.3.43.1.x86_64.rpm ....................................................................................................................[done (2.1 MiB/s)]
( 1/10) Installing: cups-config-2.2.7-150000.3.43.1.x86_64 ............................................................................................................................[done]
Retrieving: libcups2-32bit-2.2.7-150000.3.43.1.x86_64 (UpdateSLE)                                                                                                      (2/10), 274.1 KiB
Retrieving: libcups2-32bit-2.2.7-150000.3.43.1.x86_64.rpm .................................................................................................................[done (1.3 MiB/s)]
( 2/10) Installing: libcups2-32bit-2.2.7-150000.3.43.1.x86_64 .........................................................................................................................[done]
Retrieving: libcups2-2.2.7-150000.3.43.1.x86_64 (UpdateSLE)                                                                                                            (3/10), 257.7 KiB
Retrieving: libcups2-2.2.7-150000.3.43.1.x86_64.rpm .......................................................................................................................[done (1.3 MiB/s)]
( 3/10) Installing: libcups2-2.2.7-150000.3.43.1.x86_64 ...............................................................................................................................[done]
Retrieving: libcupsppdc1-2.2.7-150000.3.43.1.x86_64 (UpdateSLE)                                                                                                        (4/10),  78.1 KiB
Retrieving: libcupsppdc1-2.2.7-150000.3.43.1.x86_64.rpm ...................................................................................................................[done (1.2 KiB/s)]
( 4/10) Installing: libcupsppdc1-2.2.7-150000.3.43.1.x86_64 ...........................................................................................................................[done]
Retrieving: libcupsmime1-2.2.7-150000.3.43.1.x86_64 (UpdateSLE)                                                                                                        (5/10),  49.9 KiB
Retrieving: libcupsmime1-2.2.7-150000.3.43.1.x86_64.rpm ...................................................................................................................[done (1.2 KiB/s)]
( 5/10) Installing: libcupsmime1-2.2.7-150000.3.43.1.x86_64 ...........................................................................................................................[done]
Retrieving: libcupsimage2-2.2.7-150000.3.43.1.x86_64 (UpdateSLE)                                                                                                        (6/10),  54.1 KiB
Retrieving: libcupsimage2-2.2.7-150000.3.43.1.x86_64.rpm ................................................................................................................[done (269.1 KiB/s)]
( 6/10) Installing: libcupsimage2-2.2.7-150000.3.43.1.x86_64 ..........................................................................................................................[done]
Retrieving: libcupscgi1-2.2.7-150000.3.43.1.x86_64 (UpdateSLE)                                                                                                          (7/10),  61.3 KiB
Retrieving: libcupscgi1-2.2.7-150000.3.43.1.x86_64.rpm ..................................................................................................................[done (255.3 KiB/s)]
( 7/10) Installing: libcupscgi1-2.2.7-150000.3.43.1.x86_64 ............................................................................................................................[done]
Retrieving: cups-client-2.2.7-150000.3.43.1.x86_64 (UpdateSLE)                                                                                                          (8/10), 160.5 KiB
Retrieving: cups-client-2.2.7-150000.3.43.1.x86_64.rpm ..................................................................................................................[done (143.8 KiB/s)]
( 8/10) Installing: cups-client-2.2.7-150000.3.43.1.x86_64 ............................................................................................................................[done]
Retrieving: cups-2.2.7-150000.3.43.1.x86_64 (UpdateSLE)                                                                                                                (9/10),  6.7 MiB
Retrieving: cups-2.2.7-150000.3.43.1.x86_64.rpm ...........................................................................................................................[done (1.5 MiB/s)]
Failed to try-restart cups-lpd@.service: Unit name cups-lpd@.service is missing the instance name.
See system logs and 'systemctl status cups-lpd@.service' for details.
( 9/10) Installing: cups-2.2.7-150000.3.43.1.x86_64 ...................................................................................................................................[done]
Retrieving: cups-filters-1.25.0-150200.3.6.1.x86_64 (UpdateSLE)                                                                                                        (10/10), 844.7 KiB
Retrieving: cups-filters-1.25.0-150200.3.6.1.x86_64.rpm ...................................................................................................................[done (2.5 MiB/s)]
(10/10) Installing: cups-filters-1.25.0-150200.3.6.1.x86_64 ...........................................................................................................................[done]
Executing %posttrans scripts ..........................................................................................................................................................[done]
CommitResult  (total 10, done 10, error 0, skipped 0, updateMessages 0)
Checking for running processes using deleted libraries...
There are running programs which still use files and libraries deleted or updated by recent upgrades. They should be restarted to benefit from the latest updates. Run 'zypper ps -s' to list these programs.
# grep RETT /etc/os-release
PRETTY_NAME="openSUSE Leap 15.4"
#


MakeTopSite 06-03-2023 06:58 AM

Quote:

Originally Posted by mrmazda (Post 6434252)
Such things are usually mirror problems that will disappear if you wait long enough before retrying, sometimes a few minutes, sometimes a few hours, usually less than a day.

No problem here:
Code:

# zypper --no-refresh -v up
...
The following 10 packages are going to be upgraded:
  cups            2.2.7-150000.3.40.1 -> 2.2.7-150000.3.43.1
  cups-client    2.2.7-150000.3.40.1 -> 2.2.7-150000.3.43.1
  cups-config    2.2.7-150000.3.40.1 -> 2.2.7-150000.3.43.1
  cups-filters    1.25.0-3.3.1 -> 1.25.0-150200.3.6.1
  libcups2        2.2.7-150000.3.40.1 -> 2.2.7-150000.3.43.1
  libcups2-32bit  2.2.7-150000.3.40.1 -> 2.2.7-150000.3.43.1
  libcupscgi1    2.2.7-150000.3.40.1 -> 2.2.7-150000.3.43.1
  libcupsimage2  2.2.7-150000.3.40.1 -> 2.2.7-150000.3.43.1
  libcupsmime1    2.2.7-150000.3.40.1 -> 2.2.7-150000.3.43.1
  libcupsppdc1    2.2.7-150000.3.40.1 -> 2.2.7-150000.3.43.1

10 packages to upgrade.
Overall download size: 8.7 MiB. Already cached: 0 B. After the operation, additional 3.6 KiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
committing
...
Retrieving: cups-config-2.2.7-150000.3.43.1.x86_64 (UpdateSLE)                                                                                                          (1/10), 240.5 KiB
Retrieving: cups-config-2.2.7-150000.3.43.1.x86_64.rpm ....................................................................................................................[done (2.1 MiB/s)]
( 1/10) Installing: cups-config-2.2.7-150000.3.43.1.x86_64 ............................................................................................................................[done]
Retrieving: libcups2-32bit-2.2.7-150000.3.43.1.x86_64 (UpdateSLE)                                                                                                      (2/10), 274.1 KiB
Retrieving: libcups2-32bit-2.2.7-150000.3.43.1.x86_64.rpm .................................................................................................................[done (1.3 MiB/s)]
( 2/10) Installing: libcups2-32bit-2.2.7-150000.3.43.1.x86_64 .........................................................................................................................[done]
Retrieving: libcups2-2.2.7-150000.3.43.1.x86_64 (UpdateSLE)                                                                                                            (3/10), 257.7 KiB
Retrieving: libcups2-2.2.7-150000.3.43.1.x86_64.rpm .......................................................................................................................[done (1.3 MiB/s)]
( 3/10) Installing: libcups2-2.2.7-150000.3.43.1.x86_64 ...............................................................................................................................[done]
Retrieving: libcupsppdc1-2.2.7-150000.3.43.1.x86_64 (UpdateSLE)                                                                                                        (4/10),  78.1 KiB
Retrieving: libcupsppdc1-2.2.7-150000.3.43.1.x86_64.rpm ...................................................................................................................[done (1.2 KiB/s)]
( 4/10) Installing: libcupsppdc1-2.2.7-150000.3.43.1.x86_64 ...........................................................................................................................[done]
Retrieving: libcupsmime1-2.2.7-150000.3.43.1.x86_64 (UpdateSLE)                                                                                                        (5/10),  49.9 KiB
Retrieving: libcupsmime1-2.2.7-150000.3.43.1.x86_64.rpm ...................................................................................................................[done (1.2 KiB/s)]
( 5/10) Installing: libcupsmime1-2.2.7-150000.3.43.1.x86_64 ...........................................................................................................................[done]
Retrieving: libcupsimage2-2.2.7-150000.3.43.1.x86_64 (UpdateSLE)                                                                                                        (6/10),  54.1 KiB
Retrieving: libcupsimage2-2.2.7-150000.3.43.1.x86_64.rpm ................................................................................................................[done (269.1 KiB/s)]
( 6/10) Installing: libcupsimage2-2.2.7-150000.3.43.1.x86_64 ..........................................................................................................................[done]
Retrieving: libcupscgi1-2.2.7-150000.3.43.1.x86_64 (UpdateSLE)                                                                                                          (7/10),  61.3 KiB
Retrieving: libcupscgi1-2.2.7-150000.3.43.1.x86_64.rpm ..................................................................................................................[done (255.3 KiB/s)]
( 7/10) Installing: libcupscgi1-2.2.7-150000.3.43.1.x86_64 ............................................................................................................................[done]
Retrieving: cups-client-2.2.7-150000.3.43.1.x86_64 (UpdateSLE)                                                                                                          (8/10), 160.5 KiB
Retrieving: cups-client-2.2.7-150000.3.43.1.x86_64.rpm ..................................................................................................................[done (143.8 KiB/s)]
( 8/10) Installing: cups-client-2.2.7-150000.3.43.1.x86_64 ............................................................................................................................[done]
Retrieving: cups-2.2.7-150000.3.43.1.x86_64 (UpdateSLE)                                                                                                                (9/10),  6.7 MiB
Retrieving: cups-2.2.7-150000.3.43.1.x86_64.rpm ...........................................................................................................................[done (1.5 MiB/s)]
Failed to try-restart cups-lpd@.service: Unit name cups-lpd@.service is missing the instance name.
See system logs and 'systemctl status cups-lpd@.service' for details.
( 9/10) Installing: cups-2.2.7-150000.3.43.1.x86_64 ...................................................................................................................................[done]
Retrieving: cups-filters-1.25.0-150200.3.6.1.x86_64 (UpdateSLE)                                                                                                        (10/10), 844.7 KiB
Retrieving: cups-filters-1.25.0-150200.3.6.1.x86_64.rpm ...................................................................................................................[done (2.5 MiB/s)]
(10/10) Installing: cups-filters-1.25.0-150200.3.6.1.x86_64 ...........................................................................................................................[done]
Executing %posttrans scripts ..........................................................................................................................................................[done]
CommitResult  (total 10, done 10, error 0, skipped 0, updateMessages 0)
Checking for running processes using deleted libraries...
There are running programs which still use files and libraries deleted or updated by recent upgrades. They should be restarted to benefit from the latest updates. Run 'zypper ps -s' to list these programs.
# grep RETT /etc/os-release
PRETTY_NAME="openSUSE Leap 15.4"
#


Thank you it's solved now.


All times are GMT -5. The time now is 02:09 PM.