error doing the recommanded upgrades [solved]

Post your update and upgrade related errors here
Forum rules
Before you post please read this

error doing the recommanded upgrades [solved]

Postby newbie_noob on Sun Jan 15, 2012 2:41 am

Hi, I installed lmde/gnome/64b and the update manager indicated me I have 300+ recommanded updates to do, so I proceeded.
After a while, I got a warning indicating me that I had to choose between the version of a file I already have, and the other version wich was the "new" one, so I accepted.
Later I got an error stoping the update process.
Now everytime I try to update, after a while I guet this message:

Code: Select all
E: /var/cache/apt/archives/gstreamer0.10-plugins-bad_0.10.22-3_amd64.deb: trying to overwrite '/usr/lib/gstreamer-0.10/libgstxvid.so', which is also in package gstreamer0.10-plugins-really-bad 0.10.22-0.1


and I cannot proceed with the updates.

Code: Select all
-Computer-
Processor      : 4x Intel(R) Atom(TM) CPU N570   @ 1.66GHz
Memory      : 1014MB (499MB used)
Operating System      : Linux Mint Debian Edition
User Name      : myname (myname)
Date/Time      : Sun 15 Jan 2012 01:33:04 AM EST
-Display-
Resolution      : 1024x600 pixels
OpenGL Renderer      : Mesa DRI Intel(R) IGD 
X11 Vendor      : The X.Org Foundation
-Multimedia-
Audio Adapter      : HDA-Intel - HDA Intel
-Input Devices-
 AT Translated Set 2 keyboard
 Power Button
 Sleep Button
 Lid Switch
 Power Button
 PC Speaker
 WebCam
 SynPS/2 Synaptics TouchPad
 Video Bus
 HDA Digital PCBeep
 HDA Intel Mic
 HDA Intel Headphone
 Microsoft Microsoft® 2.4GHz Transceiver v8.0
 Microsoft Microsoft® 2.4GHz Transceiver v8.0
 Microsoft Microsoft® 2.4GHz Transceiver v8.0
-Printers (CUPS)-
PDF      : <i>Default</i>


Code: Select all
-Version-
Kernel      : Linux 2.6.39-2-amd64 (x86_64)
Compiled      : #1 SMP Tue Jul 5 02:51:22 UTC 2011
C Library      : Unknown
Default C Compiler      : GNU C Compiler version 4.6.1 (Debian 4.6.1-4)
Distribution      : Linux Mint Debian Edition
-Current Session-
Computer Name      : a1
User Name      : myname (myname)
Home Directory      : /home/myname
Desktop Environment      : GNOME 2.30.2
-Misc-
Uptime      : 2 hours, 4 minutes
Load Average      : 0.10, 0.16, 0.14


Code: Select all
-Loaded Modules-
usbhid      : USB HID core driver
hid
nls_utf8
nls_cp437
vfat      : VFAT filesystem support
fat
usb_storage      : USB Mass Storage driver for Linux
uas
cryptd      : Software async crypto daemon
aes_x86_64      : Rijndael (AES) Cipher Algorithm, asm optimized
aes_generic      : Rijndael (AES) Cipher Algorithm
acpi_cpufreq      : ACPI Processor P-States Driver
mperf
cpufreq_userspace      : CPUfreq policy governor &apos;userspace&apos;
rfcomm      : Bluetooth RFCOMM ver 1.11
cpufreq_stats      : &apos;cpufreq_stats&apos; - A driver to export cpufreq stats through sysfs filesystem
bnep      : Bluetooth BNEP ver 1.3
cpufreq_powersave      : CPUfreq policy governor &apos;powersave&apos;
ppdev
bluetooth      : Bluetooth Core ver 2.16
cpufreq_conservative      : &apos;cpufreq_conservative&apos; - A dynamic cpufreq governor for Low Latency Frequency Transition capable processors optimised for use in a battery environment
lp
parport
binfmt_misc
fuse      : Filesystem in Userspace
loop
dm_crypt      : device-mapper target for transparent encryption / decryption
dm_mod      : device-mapper driver
snd_hda_codec_realtek      : Realtek HD-audio codec
snd_hda_intel      : Intel HDA driver
snd_hda_codec      : HDA codec core
snd_hwdep      : Hardware dependent layer
snd_pcm_oss      : PCM OSS emulation for ALSA.
arc4      : ARC4 Cipher Algorithm
snd_mixer_oss      : Mixer OSS emulation for ALSA.
ecb      : ECB block cipher algorithm
snd_pcm      : Midlevel PCM code for ALSA.
snd_seq_midi      : Advanced Linux Sound Architecture sequencer MIDI synth.
snd_rawmidi      : Midlevel RawMidi code for ALSA.
snd_seq_midi_event      : MIDI byte &lt;-&gt; sequencer event coder
snd_seq      : Advanced Linux Sound Architecture sequencer.
joydev      : Joystick device interfaces
iwlagn      : Intel(R) Wireless WiFi Link AGN driver for Linux
uvcvideo      : USB Video Class driver
snd_timer      : ALSA timer interface
snd_seq_device      : ALSA sequencer device management
mac80211      : IEEE 802.11 subsystem
videodev      : Device registrar for Video4Linux drivers v2
i915      : Intel Graphics
snd      : Advanced Linux Sound Architecture driver for soundcards.
cfg80211      : wireless configuration support
media      : Device node registration for media drivers
soundcore      : Core sound module
drm_kms_helper      : DRM KMS helper
v4l2_compat_ioctl32
evdev      : Input driver event char devices
i2c_i801      : I801 SMBus driver
drm      : DRM shared core routines
sparse_keymap      : Generic support for sparse keymaps
i2c_algo_bit      : I2C-Bus bit-banging algorithm
rfkill      : RF switch support
i2c_core      : I2C-Bus main module
ac      : ACPI AC Adapter Driver
battery      : ACPI Battery Driver
pcspkr      : PC Speaker beeper driver
psmouse      : PS/2 mouse driver
serio_raw      : Raw serio driver
snd_page_alloc      : Memory allocator for ALSA system.
wmi      : ACPI-WMI Mapping Driver
power_supply      : Universal power supply monitor class
video      : ACPI Video Driver
button      : ACPI Button Driver
processor      : ACPI Processor Driver
ext4      : Fourth Extended Filesystem
mbcache      : Meta block cache (for extended attributes)
jbd2
crc16      : CRC16 calculations
btrfs
zlib_deflate
crc32c      : CRC32c (Castagnoli) calculations wrapper for lib/crc32c
libcrc32c      : CRC32c (Castagnoli) calculations
sg      : SCSI generic (sg) driver
sd_mod      : SCSI disk (sd) driver
crc_t10dif      : T10 DIF CRC calculation
uhci_hcd      : USB Universal Host Controller Interface driver
ahci      : AHCI SATA low-level driver
libahci      : Common AHCI SATA low-level routines
libata      : Library module for ATA devices
scsi_mod      : SCSI core
ehci_hcd      : USB 2.0 &apos;Enhanced&apos; Host Controller (EHCI) Driver
usbcore
r8169      : RealTek RTL-8169 Gigabit Ethernet driver
thermal      : ACPI Thermal Zone Driver
mii      : MII hardware support library
thermal_sys      : Generic thermal management sysfs support


-I installed LMDE recently on my netbook Aspire One D257-1814 using a flash drive and unetbootin, and indicated to unetbootin that it was a LM-9 64bit (there was no option in the listing of unetbootin for LM-10 or later), could that be where the problem come from, and what can I do to fix it?

Also, I have no swap, and I would like some since I have only 1GB of ram atm.
I tried to make a partition for swap with Gparted but my LMDE partition is taking my whole HDD, and I do not know how to shrink it with Gparted.
Last edited by newbie_noob on Sun Jan 15, 2012 3:25 pm, edited 1 time in total.
newbie_noob
Level 2
Level 2
 
Posts: 54
Joined: Thu Jan 27, 2011 8:25 pm

Linux Mint is funded by ads and donations.
 

Re: error doing the recommanded upgrades

Postby newbie_noob on Sun Jan 15, 2012 3:57 am

newbie_noob wrote:Also, I have no swap, and I would like some since I have only 1GB of ram atm.
I tried to make a partition for swap with Gparted but my LMDE partition is taking my whole HDD, and I do not know how to shrink it with Gparted.


Something seems to be wrong with my memory:

Image

cat /proc/meminfo
tells me that I have 73Mb of ram free, but I am only using 445Mb out of 1Gb of ram ; where does imbalance comes from?? Could that be related to not-having swap?

Thank you again! :oops:
newbie_noob
Level 2
Level 2
 
Posts: 54
Joined: Thu Jan 27, 2011 8:25 pm

Re: error doing the recommanded upgrades

Postby zerozero on Sun Jan 15, 2012 6:13 am

hi,
- the update error: run the dist-upgrade again and when you get the error past this on the terminal
Code: Select all
sudo dpkg -i --force-overwrite /var/cache/apt/archives/gstreamer0.10-plugins-bad_0.10.22-3_amd64.deb

you might need to rerun the updates after that.

- to create a swap opartition, you need to run from the liveDVD (as you want the shrink the partition where the OS is installed, you can't do that from inside the OS); if you need some tips about the way Gparted works see this http://www.youtube.com/watch?v=bb54TsYI6UA

- about ram usage, check this article (it's at the same time fun and interesting) http://chrisjohnston.org/ubuntu/why-on- ... -ram-usage
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6489
Joined: Tue Jul 07, 2009 2:29 pm

Re: error doing the recommanded upgrades

Postby mank_in on Sun Jan 15, 2012 12:55 pm

newbie_noob wrote:I installed LMDE recently on my netbook Aspire One D257-1814 using a flash drive and unetbootin, and indicated to unetbootin that it was a LM-9 64bit (there was no option in the listing of unetbootin for LM-10 or later), could that be where the problem come from, and what can I do to fix it?

there is no problem. i installed LM11 and 12 with unetbootin :)
Image
Sorry for my bad English , I am Indonesian.
User avatar
mank_in
Level 6
Level 6
 
Posts: 1346
Joined: Wed Nov 16, 2011 2:29 pm
Location: Bali

Re: error doing the recommanded upgrades

Postby newbie_noob on Sun Jan 15, 2012 2:21 pm

zerozero wrote:hi,
- the update error: run the dist-upgrade again and when you get the error past this on the terminal
Code: Select all
sudo dpkg -i --force-overwrite /var/cache/apt/archives/gstreamer0.10-plugins-bad_0.10.22-3_amd64.deb

you might need to rerun the updates after that.

- to create a swap opartition, you need to run from the liveDVD (as you want the shrink the partition where the OS is installed, you can't do that from inside the OS); if you need some tips about the way Gparted works see this http://www.youtube.com/watch?v=bb54TsYI6UA

- about ram usage, check this article (it's at the same time fun and interesting) http://chrisjohnston.org/ubuntu/why-on- ... -ram-usage


Tried your command, I got the following messages (during the update):

Code: Select all
Configuring linux-image-3.0.0-1-amd64 ├─────────────────┐ 
 │                                                                           │ 
 │ Required firmware files may be missing                                    │ 
 │                                                                           │ 
 │ This system is currently running Linux 2.6.39-2-amd64 and you are         │ 
 │ installing Linux 3.0.0-1-amd64.  In the new version some of the drivers   │ 
 │ used on this system may require additional firmware files:                │ 
 │                                                                           │ 
 │ iwlagn: iwlwifi-105-5.ucode, iwlwifi-2030-5.ucode, iwlwifi-2000-5.ucode   │ 
 │                                                                           │ 
 │ Most firmware files are not included in the system because they do not    │ 
 │ conform to the Debian Free Software Guidelines. You may need to           │ 
 │ reconfigure the package manager to include the contrib and non-free       │ 
 │ sections of the package archive before you can install these firmware     │ 
 │ files.


Is that to inform me that Mint's Wifi driver will stop working?

Code: Select all
Configuring grub-pc ├──────────────────────────┐ 
 │                                                                           │ 
 │ The GRUB boot loader was previously installed to a disk that is no        │ 
 │ longer present, or whose unique identifier has changed for some reason.   │ 
 │ It is important to make sure that the installed GRUB core image stays in  │ 
 │ sync with GRUB modules and grub.cfg. Please check again to make sure      │ 
 │ that GRUB is written to the appropriate boot devices.                     │ 
 │                                                                           │ 
 │ If you're unsure which drive is designated as boot drive by your BIOS,    │ 
 │ it is often a good idea to install GRUB to all of them.                   │ 
 │                                                                           │ 
 │ Note: it is possible to install GRUB to partition boot records as well,   │ 
 │ and some appropriate partitions are offered here. However, this forces    │ 
 │ GRUB to use the blocklist mechanism, which makes it less reliable, and    │ 
 │ therefore is not recommended.   


Is that because I made my install from a usb-drive and that usb-drive's grub isn't the same as the one on the hdd?

Code: Select all
──────────────┤ Configuring grub-pc ├────────────────┐           
           │ GRUB install devices:                                 │           
           │                                                       │           
           │    [ ] /dev/sda (250059 MB; WDC_WD2500BPVT-22JJ5T0)   │           
           │    [ ] - /dev/sda1 (250058 MB; /) 


sda = my hdd
sda1 = my hdd, minus 1MB for the MBR ?

I tried both option and got this message in the console:

Code: Select all
Setting up grub-pc (1.99-11) ...
Installation finished. No error reported.
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition.  This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
Installation finished. No error reported.
Generating grub.cfg ...


Does that mean that it was 'ok' on sda1 but not on sda? (that is my intuition, but is this right/wrong, and why?)
newbie_noob
Level 2
Level 2
 
Posts: 54
Joined: Thu Jan 27, 2011 8:25 pm

Re: error doing the recommanded upgrades

Postby zerozero on Sun Jan 15, 2012 3:16 pm

Is that to inform me that Mint's Wifi driver will stop working?

- no, it's a changelog, but doesn't concern specially LMDE because contrib and non-free are already enabled in our sources.list; has more to do with pure debian where those repos are not default;
- this doesn't mean that your wifi will work after this update, it all depends on which driver you use; you are installing a new kernel and some drivers need to be compiled each time this happens (the most famous case might be broadcom- but if your wifi worked out-of-box before, it will again now)

Is that because I made my install from a usb-drive and that usb-drive's grub isn't the same as the one on the hdd?

no, unrelated.
Does that mean that it was 'ok' on sda1 but not on sda? (that is my intuition, but is this right/wrong, and why?)

no, the other way around: it asked you to reinstall grub, unless you have another OS and that one is controlling the mbr, sda is the valid option (if you choose both no harm done, grub was installed in sda/the mbr where it should)
that message you see there appears because the grub devs consider that install grub in a partition (as you did when you picked sda1) is not reliable (but what they know? in multi-boot system one ends up installing one grub in the mbr and the other's OS grub in theirs partitions and it works perfectly)
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6489
Joined: Tue Jul 07, 2009 2:29 pm

Re: error doing the recommanded upgrades

Postby newbie_noob on Sun Jan 15, 2012 3:24 pm

Thank you.
newbie_noob
Level 2
Level 2
 
Posts: 54
Joined: Thu Jan 27, 2011 8:25 pm

Linux Mint is funded by ads and donations.
 

Return to Update/Upgrade Issues

Who is online

Users browsing this forum: No registered users and 7 guests