Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-14-2014, 02:14 PM
|
#1
|
LQ Newbie
Registered: May 2014
Location: really????
Distribution: debian mint kubuntu in that order.
Posts: 11
Rep: 
|
Linux Mint 14 Aptitude Failure (Software manager too)
updates will NOT install
1. the "sudo aptitude safe-upgrade" output decribing the error and some list dls for reference
"
Get: 12 http://ppa.launchpad.net/mqchael/pipelight/ubuntu/ quantal/main pipelight-multi amd64 0.2.6~ubuntu12.10.1 [529 kB]
Fetched 33.2 MB in 56s (593 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg: unrecoverable fatal error, aborting:
files list file for package 'udev' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
A package failed to install. Trying to recover: "
It did not recover, crash.
Anyone know how to fix this? Anyone else using Mint 14 suddenly unable to update? Anyone got a cool command line script that clears this up? I'm new to this forum, any help would be greatly appreciated.
|
|
|
05-14-2014, 02:25 PM
|
#2
|
LQ Newbie
Registered: May 2014
Location: really????
Distribution: debian mint kubuntu in that order.
Posts: 11
Original Poster
Rep: 
|
also ouput of "aptitude show udev"
imauser$ aptitude show udev
"
Package: udev
State: installed
Automatically installed: no
Multi-Arch: foreign
Version: 175-0ubuntu13.1
Priority: required
Section: admin
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Uncompressed Size: 1,021 k
Depends: libacl1 (>= 2.2.51-8), libc6 (>= 2.10), libglib2.0-0 (>= 2.16.0), libselinux1 (>= 1.32), upstart-job, libudev0 (>= 175), module-init-tools (>= 3.2.1-0ubuntu3),
initramfs-tools (>= 0.92bubuntu63), procps, adduser, util-linux (> 2.15~rc2), upstart (>= 1.4-0ubuntu6)
Suggests: watershed
Conflicts: udev
Provides: udev
Provided by: udev
Description: rule-based device node and kernel event manager
udev is a collection of tools and a daemon to manage events received from the kernel and deal with them in user-space. Primarily this involves creating and removing device nodes
in /dev when hardware is discovered or removed from the system.
Events are received via kernel netlink messaged and processed according to rules in /etc/udev/rules.d and /lib/udev/rules.d, altering the name of the device node, creating
additional symlinks or calling other tools and programs including those to load kernel modules and initialise the device.
Homepage: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
it says it conflicts with udev, which makes no sense to me. Anyways just more pieces to the puzzle, any help would be great thanks again.
Jimi C
|
|
|
05-14-2014, 02:33 PM
|
#3
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,535
|
Quote:
files list file for package 'udev' is missing final newline
|
That seems the only error of substance, and if that is the case, it is easily fixed. Something like
Code:
echo -e '\n' >> /path/to/file
Adds a trailing newline to the correct file once you find what that is. Most console editors have an option to show non printed characters, so you can find it that way.
Instead of install, try downloading the update, and then install it.
|
|
1 members found this post helpful.
|
05-14-2014, 03:01 PM
|
#4
|
LQ Newbie
Registered: May 2014
Location: really????
Distribution: debian mint kubuntu in that order.
Posts: 11
Original Poster
Rep: 
|
Fast and helpful
Thanks, added a \n to the end of my /var/lib/dpkg/info/udev.list file using vim (equal to you echo command, which the old girl was giving me guff about), which I aquired from an ubuntu website.
cleaned out the repo lists
aptitude update
aptitude safe-upgrade
and it is currently unpacking, preparing, setting up and I hope (knock on wood) installing the 66 packages that had built up since I apparently couruptted my udev.list file.
Thanks business_kid, less than 10 min after my post I recieved help.
seems to be a good forum.
hope i can contribute on the helping side soon
peace
jimi c (sorry about horrible spelling)
|
|
|
All times are GMT -5. The time now is 03:24 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|