LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
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

Reply
 
Search this Thread
Old 05-14-2014, 03:14 PM   #1
jimicloudstuff
LQ Newbie
 
Registered: May 2014
Location: really????
Distribution: debian mint kubuntu in that order.
Posts: 6

Rep: Reputation: Disabled
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.
 
Old 05-14-2014, 03:25 PM   #2
jimicloudstuff
LQ Newbie
 
Registered: May 2014
Location: really????
Distribution: debian mint kubuntu in that order.
Posts: 6

Original Poster
Rep: Reputation: Disabled
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
 
Old 05-14-2014, 03:33 PM   #3
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,604

Rep: Reputation: 583Reputation: 583Reputation: 583Reputation: 583Reputation: 583Reputation: 583
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.
Old 05-14-2014, 04:01 PM   #4
jimicloudstuff
LQ Newbie
 
Registered: May 2014
Location: really????
Distribution: debian mint kubuntu in that order.
Posts: 6

Original Poster
Rep: Reputation: Disabled
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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re Linux Mint software manager davidandmargaret Linux - Newbie 4 06-10-2013 10:16 PM
software manager not installing packages on linux mint 12 teja463 Linux - Newbie 2 03-30-2012 01:48 PM
Can't start Software Manager (Linux Mint 11) Blackened Justice Linux - Newbie 2 03-30-2012 01:16 PM
LXer: Linux Mint 9 offers new software manager, backup tool LXer Syndicated Linux News 0 08-30-2010 03:10 PM
LXer: Linux Mint 9 offers new software manager, backup tool LXer Syndicated Linux News 1 08-29-2010 01:25 AM


All times are GMT -5. The time now is 08:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration