Showing posts with label update. Show all posts
Showing posts with label update. Show all posts

Friday, December 30, 2016

How To Get Rid Of "N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension" Warning Message In Ubuntu 16.04

How To Get Rid Of
"N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension"
Warning Message In Ubuntu 16.04

shivaraj@shivaraj-A14RM0E:~$ sudo apt upgrade [sudo] password for shivaraj: Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension shivaraj@shivaraj-A14RM0E:~$

As usual, today morning, I ran sudo apt-get -y upgrade in my Ubuntu Linux box.. But at the end of the upgrade I got "N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension".... I googled about it to find the reason for this kind of nasty warnings...

Finally, found the reason and solution for this issue from Ask Ubuntu...

According to AskUbuntu, The reason for this warning message is, the update contains a new version of configuration file.. but if you choose system package manager to keep old one itself... then the new config file would just exists there, along with old configuration file...

So every time we use package manager, it is printing file with invalid extension warning message... However, it will not cause any issues.. We can just ignore it... But if you want to get rid of this warning message.. Just follow the bellow instructions...

We can get rid of this message by removing redundant new configuration file which came with updates..
Just execute bellow command to remove the new redundant configuration file.. So that we can get rid of warning message..

sudo rm -f /etc/apt/apt.conf.d/20auto-upgrades.ucf-dist

Now run sudo apt upgrade... This time you wouldn't get warning message..

shivaraj@shivaraj-A14RM0E:~$ sudo rm -f /etc/apt/apt.conf.d/20auto-upgrades.ucf-dist shivaraj@shivaraj-A14RM0E:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. shivaraj@shivaraj-A14RM0E:~$

Thats all... Follow us on facebook fb.com/opensourceinside..


Friday, June 24, 2016

How To Upgrade Fedora 23 to Fedora 24

How To Upgrade Fedora 23 to Fedora 24




Fedora 24 officially released on 21-JUNE-2016 and You'll likely want to upgrade your system. Here I'll show you how to upgrade Fedora 23 to Fedora 24 using DNF system upgrade plugin.

1. Upgrade and back up your system

Before doing anything, It's good habit to back-up your system and ensure that you have the latest software running on your Fedora 23 .. You can upgrade all packages to its latest version by running command shown below in your terminal..

sudo dnf upgrade --refresh
Common issues in upgrading Fedora 23 to 24 :
According to official Fedora 24 release notes... "Rpmfusion packages block Fedora upgrade".

At the time of release, rpmfusion packages were blocking Fedora upgrades with a message similar to:

Error: Package a52dec-0.7.4-19.fc24.x86_64.rpm is not signed

This is a third-party repository issue outside of Fedora control. You can read more about possible solutions in this blog post. The repository maintainers are supposedly working on signing their repo, so that the issue disappears in the future.

2. Install the DNF plugin

Next, open a terminal and type the following command to install the plugin..

sudo dnf install dnf-plugin-system-upgrade

3. Start upgrading your system..

Now that your system is up-to-date, backed up, and you have the DNF plugin installed, you can begin the upgrade by using the following command in a terminal

sudo dnf system-upgrade download --releasever=24

You can also include the --allowerasing option which helps to remove all packages that may break the upgrade process as a result of certain packages not having updates, retired packages or even broken dependency issues.

5. Reboot and upgrade

Once the previous command finishes downloading all of the upgrades, your system will be ready for rebooting. To boot your system into the upgrade process, type the following command in a terminal

sudo dnf system-upgrade reboot

This will reboot your machine immediately. The system should boot again info Fedora using the same kernel, but this time, the upgrade process appears on the boot screen.

Further Information

For more detailed instructions on using dnf for upgrading, including a breakdown of other flags, check out the DNF system upgrade wiki article. This page also has frequently asked questions you may have during an upgrade and also don't forget to check known issues.

Happy Upgrades!

DNF system upgrade plugin develpment page Github. If you find any issue with this plugin open an issue on Github.


Upgrading Fedora (With DNF system upgrade)

Upgrading Fedora
(With DNF system upgrade)



When it comes to upgrading Fedora Linux, you're likely familiar with the fedup tool. However the new Fedora releases which uses dnf as package manager(Fedora 22 and later..), features a new release method. Now we can upgrade Fedora with DNF system upgrade plugin. Using this plugin will make your upgrading process simple and easy.

From the release of Fedora 23, you can even upgrade your system to next release easily using the GUI gnome-software (referred to as Software app in a fully updated Fedora 23).

1. Upgrade and back up your system

Before doing anything, It's good habit to back-up your system and ensure that you have the latest software running on your current system.. You can upgrade all packages to its latest version by running command shown below in your terminal..

sudo dnf upgrade --refresh

2. Read about common problems

Further down in this page there is a list of common problems specific to yum or dnf upgrades for specific versions. Some of them require attention before the upgrade.

General advice on upgrading Fedora can be found on the Upgrading page. You should also read the Installation Guide and Release Notes for the version you plan to upgrade to - they contain important information regarding upgrading issues. Finally, check the list of Common bugs.

3. Install the DNF plugin

Next, open a terminal and type the following command to install the plugin..

sudo dnf install dnf-plugin-system-upgrade

4. Now, You're Ready To Upgrade Your System..

Now that your system is up-to-date, backed up, and you have the DNF plugin installed, you can begin the upgrade by using the following command in a terminal

sudo dnf system-upgrade download --releasever=release_number

Don't forget to replace "release_number"(highlighted in red color) with Release Number of Fedora which you want to upgrade to..

For example, if you're going to upgrade your Fedora 23 system to Fedora 24, the above command will looks like one shown below..

sudo dnf system-upgrade download --releasever=24

You can also include the --allowerasing option which helps to remove all packages that may break the upgrade process as a result of certain packages not having updates, retired packages or even broken dependency issues.

5. Reboot and upgrade

Once the previous command finishes downloading all of the upgrades, your system will be ready for rebooting. To boot your system into the upgrade process, type the following command in a terminal

sudo dnf system-upgrade reboot

This will reboot your machine immediately. The system should boot again info Fedora using the same kernel, but this time, the upgrade process appears on the boot screen.

Further Information

For more detailed instructions on using dnf for upgrading, including a breakdown of other flags, check out the DNF system upgrade wiki article. This page also has frequently asked questions you may have during an upgrade and also don't forget to check known issues.

Happy Upgrades!

DNF system upgrade plugin develpment page Github. If you find any issue with this plugin open an issue on Github.


Thursday, February 11, 2016

Updates Make Us All Stronger


mozilla

Updates Make Us All Stronger

You have the power to make the Internet safer.


mozilla

     Updating to the latest security software, browser, and operating system provides an important defence against viruses, malware, and other online threats.

     You could drive around with old, burned-out brake lights on your car, but it makes driving more dangerous than it should be. And if we all did that, it would get really dangerous, fast!

Letting your systems get out of date can encourage malicious actors online, which makes everyone vulnerable in the end.

     Mozilla cares about your privacy and security everywhere, not just on Firefox, because the safer the Internet is, the easier it is to create and keep it open. So please take a minute to update your software. The Web will thank you.
Read more @ Mozilla