Updates from January, 2017 Toggle Comment Threads | Keyboard Shortcuts

  • Jay Versluis 8:33 am on January 11, 2017 Permalink | Reply
    Tags: , , WiFi   

    Categories: Windows ( 22 )   

    How to fix “connected to WiFi, but can’t see the Internet” on Windows 10 

    For the last few days I had a very interesting (read: ultra annoying) issue with Windows 10 on my Surface Pro. No matter which network I was connecting to, I could never see the internet anymore.

    Logic dictates that there was perhaps an issue with the router, but since it happened on other networks as well, this couldn’t have been the case. I could even ping the router, but no matter what else I tried, Windows didn’t see the internet.

    Finally I came across this Microsoft Support Article that suggested several things, among whose suggestions were to reset the TCP/IP stack and to renew the IP address. Sounds like fun I thought and went to work.

    Here’s how I could solve my internet issues:

    (More …)





     
  • Jay Versluis 9:16 am on January 7, 2017 Permalink | Reply
    Tags: ,   

    Categories: Linux ( 101 )   

    How to fix duplicate packages in yum 

    From time to time, the yum package manager may encounter issues with duplicate packages that are erroneously installed on a system. This manifests in a yum update going awry, telling us something along the lines of this:

    yum update
    ...
    --> Finished Dependency Resolution
    Error: Package: ntp-4.2.6p5-22.el7.centos.2.x86_64 (@updates)
               Requires: ntpdate = 4.2.6p5-22.el7.centos.2
               Removing: ntpdate-4.2.6p5-22.el7.centos.2.x86_64 (@updates)
                   ntpdate = 4.2.6p5-22.el7.centos.2
               Updated By: ntpdate-4.2.6p5-25.el7.centos.x86_64 (base)
                   ntpdate = 4.2.6p5-25.el7.centos
     You could try using --skip-broken to work around the problem
    ** Found 41 pre-existing rpmdb problem(s), 'yum check' output follows:
    // huge scary list of packages follows
    

    You may at times install all other packages via yum update –skip-broken, but it will still leave some trouble on the system. Best to take care of it.

    Here’s how I’ve managed to do it on many occasions:
    (More …)





     
    • jas 9:30 am on November 23, 2017 Permalink | Reply

      [root@ubuntu ~]# package-cleanup -cleandupes
      CRITICAL:yum.verbose.cli.packagecleanup:Config Error: Error accessing file for config file:///root/leandupes

    • adsf 12:49 am on August 7, 2018 Permalink | Reply

      This is not a useful explanation. Is this command going to remove just the extra entry from the rpm database, OR will this actually attempt to uninstall the package and the files that belong to it? Two very different things. The second could be disasterous.

      • Jay Versluis 10:09 am on August 8, 2018 Permalink | Reply

        I thought when I wrote “the duplicate package is removed” it was quite clear that the package is not uninstalled… only the duplicate is. Shame it didn’t help you, but for me it works time and time again when this problem arises on CentOS.

c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel