Updating Ubuntu Laptop Software and Salutis error

Desired Outcome:
My Acer Mini Laptop with Ubuntu Desktop needs to be updated. I’d like to use Terminal vs the Software Update application. Need to know what commands. Also, there was a message about issues with salutis.net. Note: I did a web-search and have copied from various forum entries (http://askubuntu.com/questions/222348/what-does-sudo-apt-get-update-do)

Q: What is the terminal command to update on Ubuntu?
A: sudo apt-get update
Note: This command downloads the package lists from the repositories and “updates” them to get information on the newest versions of packages and their dependencies. It will do this for all repositories and PPAs.
Note: Used to re-synchronize the package index files from their sources. The indexes of available packages are fetched from the location(s) specified in /etc/apt/sources.list. An update should always be performed before an upgrade or dist-upgrade.

Q: What is the terminal command to upgrade?
A: sudo apt-get upgrade Note: This command will fetch new versions of packages existing on the machine if APT knows about these new versions by way of apt-get update.
Note: Used to install the newest versions of all packages currently installed on the system from the sources enumerated in /etc/apt/sources.list. Packages currently installed with new versions available are retrieved and upgraded; under no circumstances are currently installed packages removed, nor are packages that are not already installed retrieved and installed. New versions of currently installed packages that cannot be upgraded without changing the install status of another package will be left at their current version. [Emphasis mine] An update must be performed first so that apt-get knows that new versions of packages are available.
Note: apt-get dist-upgrade will do the same job which is done by apt-get upgrade, plus it will also intelligently handle the dependencies, so it might remove obsolete packages or add new ones.

Q: What happens when I run “sudo apt-get update”
A: An error at the bottom re: Salutis
N: Ignoring file ‘salutis.net’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension

Q: What is Salutis?
A: I think it’s no longer supported, so ideally is uninstalled/removed from Ubuntu
XREF http://ubuntuforums.org/showthread.php?t=954267
Note: Here’s some comments from author — http://ubuntuforums.org/showthread.php?t=954267
Note: Author said, Salutis Connect is not supported anymore. Use Network Manager instead.

Q: What is Network Manager?
A: Here is a link that explains and how to install, etc — https://help.ubuntu.com/community/NetworkManager
Note: Network Manager aims for Network Connectivity which “Just Works”. The computer should use the wired network connection when it’s plugged in, but automatically switch to a wireless connection when the user unplugs it and walks away from the desk.

Q: Is it installed or still running? What’s the reference to the filename extension?

Q: Do I have to remove it?
A: Ideally, so I don’t get errors when doing update commands

Q: Is this affecting the update/upgrade?

Q: Do I now need to do the upgrade, now that I’ve updated
A: Yes, but resolve Salutis first

Q: What is current version of Ubuntu?
A: lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
Note: sudo apt-get update referenced “Trusty”. According to web-site – Ubuntu 14.04.3 (Trusty Tahr) is current
XREF to: http://www.ubuntu.com/download/desktop

Q: What does Salutis-Connect do?
A: Salutis-connect tries to use udevcontrol which in 8.10 is replaced by udevadm.
Note: Salutis-Connect was written by Rudolf Adamkovicfor purpose of Internet Modem connectivity, I believe.
Note: It’s not longer supported.

Q: What does salutis-connect.prerm do?

Q: What does udevcontrol reload_rules do?
A: Here’s a link to some info on udevcontrol — http://www.tutorialspoint.com/unix_commands/udevcontrol.htm
udevd listens to kernel uevents and passes the incoming events to udev. It ensures the right event order and takes care, that events for child devices are delayed until the parent has finished the device handling. udevcontrol can dynamically set the log level of udevd. Valid values are the numerical syslog priorities or their textual representations: err, info and debug.

Q: What does udevadm control –reload-rules do?
A: udevadm expects a command and command specific options. It controls the runtime behavior of systemd-udevd, requests kernel events, manages the event queue, and provides simple debugging mechanisms.

Q: What is recommended fix?
A: See here from forum posts:
sudo gedit /var/lib/dpkg/info/salutis-connect.prerm
Note: I got an error, possibly because of gedit error: XDG_RUNTIME_DIR not set in the environment.
(gedit:10371): Gtk-WARNING **: cannot open display:
Note: did a CD into directory and then: vi salutis-connect.prerm — can’t find file
Find line with: udevcontrol reload_rules
Replace with: udevadm control –reload-rules

Find same line within sudo gedit /var/lib/dpkg/info/salutis-connect.postinst and replace as above
Note: Can’t find file either
After this, you should be able to uninstall salutis-connect normally.

Q: How to remove Salutis-Connect?
A: See this
sudo apt-get update
Note: I had already done this
sudo apt-get upgrade
Note: OK with same error re: Salutis
apt-get purge salutis-connect
Note: Following came back:
Reading package lists… Done
Building dependency tree
Reading state information… Done
N: Ignoring file ‘salutis.net’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension
N: Ignoring file ‘salutis.net’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension
E: Unable to locate package salutis-connect
paul@paul-netbook:/var/lib/dpkg/info$

Q: What are the files within /etc/apt/sources.list.d/ ?
A: http://askubuntu.com/questions/82825/do-files-at-etc-apt-sources-list-d-need-to-have-an-extension-list
Note: Names of files in /etc/sources.list.d must end in .list for lines in the files to be taken as specifying software sources that ought to be used. Otherwise, the files may be taken to have a different meaning. The .list.save files are some kind of work/backup files:

NAME sources.list – Package resource list for APT

DESCRIPTION

The package resource list is used to locate archives of the package distribution system in use on the system. At this time, this manual page documents only the packaging system used by the Debian GNU/Linux system. This control file is /etc/apt/sources.list.

The source list is designed to support any number of active sources and a variety of source media. The file lists one source per line, with the most preferred source listed first. The format of each line is: type uri args The first item, type determines the format for args. uri is a Universal Resource Identifier (URI), which is a superset of the more specific and well-known Universal Resource Locator, or URL. The rest of the line can be marked as a comment by using a #.

SOURCES.LIST.D

The /etc/apt/sources.list.d directory provides a way to add sources.list entries in separate files. The format is the same as for the regular sources.list file. File names need to end with .list and may only contain letters (a-z and A-Z), digits (0-9), underscore (_), hyphen (-) and period (.) characters. Otherwise APT will print a notice that it has ignored a file if the file doesn’t match a pattern in the Dir::Ignore-Files-Silently configuration list – in this case it will be silently ignored…

Q: What files do I have in my directory?
A: salutis.list, salutis.list.save, google-chrome.list.distUpgrade, salutis.list.distUpgrade, salutis.net
Note: Within the file salutis.list, there is a comment made about Karmic:
# deb http://repository.salutis.sk/production ./ # disabled on upgrade to karmic

Q: Is there another forum post about Salutis
A: Yes. http://ubuntuforums.org/showthread.php?t=1003643
Note: The reference to http://repository.salutis.sk/production is bad. The address has been removed, is temporarily out, or has been changed. It should be commented out or removed from your sources.list

Q: Look again at the error
A: N: Ignoring file ‘salutis.net’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension
Note: Maybe answer is to just remove the salutis.net file from the directory
Note: Content of file is: deb http://ppa.launchpad.net/salutis/ubuntu intrepid main
Note: Appears that during Karmic upgrade, the comment had happened in various files.

Q: How do I remove a file (salutis.net)
A: sudo rm salutis.net

Q: How to check for error after delete file?
A: sudo apt-get update
Note: No error
A: sudo apt-get upgrade
Note: No error, but mention of packages no longer needed and:
The following packages were automatically installed and are no longer required:
account-plugin-windows-live compiz-plugins-extra fonts-arphic-uming
fonts-vlgothic gwibber-service hyphen-en-us libgnome-desktop-2-17 libmpdec2
libupstart1 linux-headers-3.13.0-43 linux-headers-3.13.0-43-generic
linux-image-3.13.0-43-generic linux-image-extra-3.13.0-43-generic
python-argparse
Use ‘apt-get autoremove’ to remove them.

sudo apt-get autoremove

Note: Following message, where I opted for keep local file
A new version of /boot/grub/menu.lst is available, but the version â
â installed currently has been locally modified. â
â â
â What would you like to do about menu.lst? â
â â
â install the package maintainer’s version â
â keep the local version currently installed â
â show the differences between the versions â
â show a side-by-side difference between the versions â
â show a 3-way difference between available versions â
â do a 3-way merge between available versions (experimental) â
â start a new shell to examine the situation

Note: Msg that said, “W: Operation was interrupted before it could finish”, but leaving as is for now

About Paul

CERT Coordinator, Ham Radio Operator, GTD Fan; Photographer; Domino/Notes Administrator
This entry was posted in Linux, Ubuntu. Bookmark the permalink.