LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 08-03-2023, 01:21 PM   #1
Hanisch
LQ Newbie
 
Registered: Mar 2016
Posts: 26

Rep: Reputation: Disabled
CentOS 7 - Update impossible


Hello,
on my CentOS 7 system in a VirtualBox the Update is impossible.
Code:
$ sudo dnf update -y
...
Gesamt                                                                                                      695 MB/s | 549 MB     00:00     
Warnung: /var/cache/dnf/google-chrome-6ed7e4f336f6863c/packages/google-chrome-stable-115.0.5790.170-1.x86_64.rpm: Header V4 RSA/SHA512 Signature, Schlüssel-ID a3b88b8b: NOKEY
google-chrome                                                                                               0.0  B/s |   0  B     00:00    
GPG-Schlüssel unter https://dl.google.com/linux/linux_signing_key.pub (0x7FAC5991) ist bereits installiert
GPG-Schlüssel unter https://dl.google.com/linux/linux_signing_key.pub (0xD38B4796) ist bereits installiert
Die heruntergeladenen Pakete wurden bis zur nächsten erfolgreichen Transaktion im Zwischenspeicher abgelegt.
Sie können zwischengespeicherte Pakete mit dem Befehl »dnf clean packages« entfernen.
Traceback (most recent call last):
  File "/bin/dnf", line 58, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 179, in user_main
    errcode = main(args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 64, in main
    return _main(base, args, cli_class, option_parser_class)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 99, in _main
    return cli_run(cli, base)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 123, in cli_run
    ret = resolving(cli, base)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 154, in resolving
    base.do_transaction(display=displays)
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 232, in do_transaction
    self.gpgsigcheck(install_pkgs)
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 286, in gpgsigcheck
    error_messages.append(str(e))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 26: ordinal not in range(128)
How can I repair this situation?

with regards
Ch. Hanisch
 
Old 08-03-2023, 01:39 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,141
Blog Entries: 6

Rep: Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828
Centos is still using python2?

Centos 7 will reach end of life (EOL) on June 30, 2024, ok.
https://www.redhat.com/en/topics/linux/centos-linux-eol

As for the error. You need to translate into english for the forum rules.

GPG-Schlüssel unter https://dl.google.com/linux/linux_signing_key.pub (0x7FAC5991) ist bereits installiert
GPG key at https://dl.google.com/linux/linux_signing_key.pub (0x7FAC5991) is already installed

Die heruntergeladenen Pakete wurden bis zur nächsten erfolgreichen Transaktion im Zwischenspeicher abgelegt.
The downloaded packages were cached until the next successful transaction.

Quote:
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 26: ordinal not in range(128)
Looks like a encode/decode error. Python3 should do that automatically if using encode(utf-8). Haven't used python 2 in a decade.

Without seeing the script, no way to tell.

You might uninstall chrome, then see if you can update.
 
Old 08-05-2023, 08:23 AM   #3
Hanisch
LQ Newbie
 
Registered: Mar 2016
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by teckk View Post
Centos is still using python2?
Code:
$ python --version
Python 2.7.5
Quote:
You might uninstall chrome, then see if you can update.
After removing google-chrom update is possible now.
But a new problem with skype.

Code:
$ LC_ALL=C bash
$ sudo dnf upgrade --best --allowerasing
Loading repository 'skype-stable' has failed, ignoring this repo.
Last metadata expiration check: 23:17:37 ago on Fri Aug  4 15:59:39 2023.
Dependencies resolved.
Nothing to do.
Complete!

$ cat /etc/yum.repos.d/skype-stable.repo
[skype-stable]
name=skype (stable)
baseurl=https://repo.skype.com/rpm/stable/
enabled=1
gpgcheck=1
gpgkey=https://repo.skype.com/data/SKYPE-GPG-KEY
What can I do with Skype-Repo?

with regards
Ch. Hanisch
 
Old 08-05-2023, 01:19 PM   #4
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,141
Blog Entries: 6

Rep: Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828
Did you look at that url in a web browser?
https://repo.skype.com/rpm/stable/

It is looking for a gpg key at:
https://repo.skype.com/data/SKYPE-GPG-KEY
That path does not exist.

There are keys at:
https://repo.skype.com/rpm/stable/repodata/

There is a 121MB .rpm file
https://repo.skype.com/rpm/stable/sk...3-1.x86_64.rpm

There is also an unstable branch
https://repo.skype.com/rpm/unstable/

You'll need to look at that and figure out what you have.
 
Old 08-05-2023, 04:14 PM   #5
Hanisch
LQ Newbie
 
Registered: Mar 2016
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by teckk View Post
Did you look at that url in a web browser?
https://repo.skype.com/rpm/stable/

It is looking for a gpg key at:
https://repo.skype.com/data/SKYPE-GPG-KEY
That path does not exist.

There are keys at:
https://repo.skype.com/rpm/stable/repodata/

There is a 121MB .rpm file
https://repo.skype.com/rpm/stable/sk...3-1.x86_64.rpm

There is also an unstable branch
https://repo.skype.com/rpm/unstable/

You'll need to look at that and figure out what you have.
Sorry, that is not possible to install.
Code:
$ sudo rpm -i ~/Downloads/skypeforlinux_8.101.76.212-1.x86_64.rpm
error: Failed dependencies:
        (libatomic or libatomic1) is needed by skypeforlinux-8.101.76.212-1.x86_64
        rpmlib(RichDependencies) <= 4.12.0-1 is needed by skypeforlinux-8.101.76.212-1.x86_64
with regards
Ch. Hanisch
PS: How can I get an e-Mail message when a answer is postet for my thread?
 
Old 08-05-2023, 04:27 PM   #6
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,141
Blog Entries: 6

Rep: Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828
Be logged in, then edit options on the right column.

And, if your email server kicks back your mail from LQ once, LQ will stop, and you will need to re-enable it again. Google does that once in great while.
 
Old 08-06-2023, 11:53 AM   #7
Hanisch
LQ Newbie
 
Registered: Mar 2016
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by teckk View Post
Be logged in, then edit options on the right column.

And, if your email server kicks back your mail from LQ once, LQ will stop, and you will need to re-enable it again. Google does that once in great while.
Sorry, which LQ ... mean you for e-mail message to me for any answer in my thread?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
eBay does not understand UK phone numbers so impossible or almost impossible to log on, and other problems grumpyskeptic General 6 04-06-2023 09:55 AM
impossible update ! drudox Gentoo 6 10-09-2016 11:17 PM
CentOS on Fujitsu Siemens server IMPOSSIBLE!!! gubak Red Hat 2 10-29-2009 05:32 AM
BIOS update Asus mobo impossible Dutch Master Linux - Hardware 6 07-02-2007 05:41 PM
update centos 4 rc1 to centos 4 trou yum? maxut cAos 2 03-04-2005 02:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 10:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration