On Tue, Jul 5, 2016 at 10:35 PM, Ed Greshko <ed.greshko@greshko.com> wrote:


On 07/04/16 07:23, Greg Woods wrote:
> I have upgraded 4 systems (two laptops and two desktops, all different hardware) from
> F23 to F24. Two of them are working fine, and the others seem to be badly messed up in
> the area of package management. The main symptom I see is that google-chrome-stable was
> uninstalled during the upgrade, and I can't reinstall it:

One thing you can try would be to move /var/cache/dnf/packages.db out of the way and then
run "dnf list installed" which will rebuild the db.

Good idea, but it didn't help in this case. I did move it out of the way and run the "dnf list installed", and it did rebuild the packages.db file, but I still get:

[root@cobweb dnf]# dnf list cups\*
Last metadata expiration check: 17:01:11 ago on Tue Jul  5 19:57:02 2016.
Error: No matching Packages to list
[root@cobweb dnf]#

--Greg


I just "tested" this on a VM and the rebuild occurs and everything is normal.

>
> [root@cobweb yum.repos.d]# dnf install google-chrome-stable --allowerasing
> Last metadata expiration check: 0:08:42 ago on Sun Jul  3 17:09:12 2016.
> Error: nothing provides /usr/bin/foomatic-rip needed by
> redhat-lsb-printing-4.1-32.fc24.x86_64
> [root@cobweb yum.repos.d]#
>
> I also get "no matching packages" responses to "dnf list" on packages that are already
> installed:
>
> root@cobweb yum.repos.d]# dnf clean all
> 72 files removed
> [root@cobweb yum.repos.d]# dnf list cups*
> Fedora 24 - x86_64                                              8.3 MB/s |  47 MB
> 00:05
> google-chrome                                                    55 kB/s | 3.5 kB
> 00:00
> Adobe Systems Incorporated                                       17 kB/s | 1.8 kB
> 00:00
> RPM Fusion for Fedora 24 - Free                                 839 kB/s | 326 kB
> 00:00
> RPM Fusion for Fedora 24 - Nonfree                              311 kB/s |  64 kB
> 00:00
> Steam for Fedora                                                 28 kB/s | 7.9 kB
> 00:00
> Dropbox Repository                                               25 kB/s | 2.4 kB
> 00:00
> RPM Fusion for Fedora 24 - Nonfree - Updates                    131 kB/s |  18 kB
> 00:00
> Fedora 24 - x86_64 - Updates                                    7.3 MB/s | 8.0 MB
> 00:01
> RPM Fusion for Fedora 24 - Free - Updates                       272 kB/s |  75 kB
> 00:00
> Last metadata expiration check: 0:00:02 ago on Sun Jul  3 17:09:12 2016.
> Error: No matching Packages to list
>
> [root@cobweb yum.repos.d]# rpm -qa | grep cups
> cups-filesystem-2.1.0-2.fc23.noarch
> python3-cups-1.9.72-8.fc24.x86_64
> cups-libs-2.1.0-2.fc23.x86_64
> cups-client-2.1.0-2.fc23.x86_64
> cups-libs-2.1.0-2.fc23.i686
> python2-cups-1.9.72-8.fc24.x86_64
> cups-filters-libs-1.6.0-1.fc23.x86_64
> cups-pk-helper-0.2.5-6.fc23.x86_64
> [root@cobweb yum.repos.d]#
>
> Here, dnf fails to even list packages that "rpm -q" shows are already on the system that
> should match the pattern.
>
> Anybody seen this or have a clue what I can do other than a full reinstall?
>
> Thanks,
> --Greg
>
>
>
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org


--
You're Welcome Zachary Quinto