取消 yum 损坏。Broke Fedora after accidentally cancelled yum update

https://serverfault.com/questions/681486/broke-fedora-after-accidentally-cancelled-yum-update

 

I just did the same thing on a Fedora 22 system. I couldn’t upgrade or reinstall any of the packages. Running package-cleanup –cleandups wanted to remove glibc, which wanted to pretty much all of the packages on the system.

To resolve the issue, I performed a distro-sync on all of the duplicate packages.

sudo package-cleanup --dupes | perl -pe 's/-\d+.*$//' | sort -u | grep -vP '^Loaded' | xargs sudo dnf distro-sync -y

Then followed up with

sudo dnf upgrade
sudo package-cleanup --cleandupes

电信 光纤猫 贝尔E8-C-EPON 破解超级管理员密码

第二步、以用户名:“telecomadmin” 密码:“nE7jA%5m”登录设备。

二、破解超级管理员密码

1、打开 http://192.168.1.1,用光纤猫上的账户密码进行登录。

2、下载 http://192.168.1.1/backupsettings.conf

3、用记事本或者任何能打开 .conf 的软件(比如 SublimeText)打开backupsettings.conf,然后 ctrl+f 查找 Password,这就是你的超级管理员密码。

4、再次打开 http://192.168.1.1,如果之前的还登陆着,先退出,然后用账号名为 telecomadmin,密码为你之前找到的 Password 进行登录。现在我们就能看到完整的设置界面了。