Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

debian-user-digest Digest V2007 #2710

From: <debian-user-digest-request(at)lists.debian.org>
Date: Tue Oct 30 2007 - 20:12:27 EDT


Content-Type: text/plain

debian-user-digest Digest Volume 2007 : Issue 2710

Today's Topics:

  Re: Charging iPod / Listening to mus  [ Richard Lyons  ]
  Re: When I try to save html pages, n  [ Florian Kulzer  ]
  Re: Apt-Get or Aptitude               [ Nate Duehr  ]
  Re: Tool to configure sound           [ Richard Lyons  ]
  Re: etch apt - Failed to fetch kerne  [ Raj Kiran Grandhi 

Date: Tue, 30 Oct 2007 23:28:40 +0100
From: Richard Lyons <richard@the-place.net> To: debian-user@lists.debian.org
Subject: Re: Charging iPod / Listening to music

Message-ID: <20071030222836.GH4858@mulinocarletti.com>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Tue, Oct 30, 2007 at 11:01:53PM +0100, Mathieu Malaterre wrote:

> When I plug my iPod using the USB cable I get the 'Do not
> disconnect' screen on the ipod. It's great because I can see the ipod
> is charging. But to listen to music I do not understand what I need to
> do. I tried:
>
> $ eject /dev/sda
> -> return an error

I had terrible problems with the ipod nano too. IIRC, I eventually got it to work with gtkpod, which was able to eject the pod so that is "allowed" me to unplug it. It was my first adventure with an mp3 player, so I may just have been being stupid. Anyway my son borrowed it and never gave it back, so I was free to buy a Samsung YP-K3 instead. After a rather hairy experience "upgrading" the firmaware to the Taiwan version, it is far easier, reads ogg or mp3 files, can be managed via konqueror, mc or simply cli! But listening to the pod while it is attached? I had the impression that was impossible with either machine.

Do you need help?X

Not that that helps -- I suppose you were not thinking of lending the ipod permanently as a solution...

-- 
richard

Date: Tue, 30 Oct 2007 22:06:33 -0000 From: Ed <doyleed@gmail.com> To: debian-user@lists.debian.org Subject: Re: alsaconf and printing Message-ID: <13ifan9q5cg9d82@corp.supernews.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 30 Oct 2007 22:10:15 +0100, Florian Kulzer wrote:
> On Tue, Oct 30, 2007 at 19:32:51 -0000, Ed wrote:
>> >=20 >> > To test your ability to access the SMB-shared printer, run this >> > command on the client machine: >> >=20 >> > smbclient -U USER -L //HOST >> >=20 >> > This will list all SMB-shares (folders, printers, etc.) which USER >> > can access on HOST. (You will be prompted for USER's password on >> > HOST.) >> >=20 >> >=20 >> When I issue the above command from either the host machine that the >> printer is connect to, OR the Debian machine that I have been trying t= o >> get working, I get back an error message session setup failed: >> NT_STATUS_LOGON_FAILURE --- yet the linux machine that the printer is >> connected to prints fine, AND the two windows laptops print fine >> through the linux samba server. However, I suppose I have something >> wrong in my smb.conf file. >=20
> Does your smb.conf file allow connections from that computer?
>=20
> Are you sure you are using the right USERname and password?
>=20
> I think getting NT_STATUS_LOGON_FAILURE means that there is at least
> some communication between client and host, so we can probably rule out
> elementary network problems. Nevertheless it cannot hurt to try pinging
> the host from the client and making sure that there isn't a firewall on
> the host blocking access of the client.
>=20
> --
> Regards, | http://users.icfo.es/Florian.Kulzer
> Florian |
Hi, I added a line to my /etc/hosts file on the debian machine indicating the= =20 ip address of the local machine that the printer is connected to and the=20 machine name. Really the only reason I did this was so when I wanted to=20 ping it, I could use the machine name which is 3 letters long, verses the= =20 ip number which is 12 char long. Anyway, after that - printing and=20 smbclient -H username started to work. I don't know why, but then I=20 guess I more want to use the machine, then become an expert in debian so=20 I suppose, I am satisfied as long as it continues to work. I admit, I=20 hate when things just start working, or doing something for reason x=20 solves problem y as serendipity. Oh well THANKS very much for all your=20 help. I 'think' everything is working now. Ed

Date: Tue, 30 Oct 2007 23:28:53 +0100 From: Florian Kulzer <florian.kulzer+debian@icfo.es> To: debian-user@lists.debian.org Subject: Re: When I try to save html pages, nothing happens Message-ID: <20071030222853.GA24751@pc0197> Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 30, 2007 at 15:07:23 -0700, tom arnall wrote:
> On Tuesday 30 October 2007 14:28, Andrew Sackville-West wrote:
> > On Tue, Oct 30, 2007 at 02:02:42PM -0700, tom arnall wrote:
> > > when you say 'the rest of /var should be owned by root as well,' do y=
ou
> > > mean everything under /var, not just the immediate subdirectories?
> >
> > andrew@basement:~/src/gnucash$ ls -lR /var/* 2>&1 | awk '/^\// { /
> > curr_dir=3D$0 } /^[^\/tl]/ {if ($3!=3D"root") print curr_dir " " $0}' =
> /
> > ~/non_root_vars
> >
> > produces the attached output. I think it is what you need, showing
> > only those things that are *not* root-owned in my /var.
> >
> > you can ignore /var/run.
> >
> > hth
> >
> > A
>=20
> running:
>=20
> ls -lR /var/* 2>&1 | awk '/^\// { curr_dir=3D$0 } /^[^\/tl]/ {if=20
> ($3!=3D"root") =A0print curr_dir " " $0}' > ~/non_root_vars
>=20
> in file 't', i get:
>=20
> kloro@debian:~$ ./t
> ./t: line 1: /bin: is a directory
>=20
> and no 'non_root_vars' in my home.
I would prefer using find for this: find /var/ -uid +0 -fprintf ~/non_root_vars "%p %M %u %g\n" --=20 Regards, | http://users.icfo.es/Florian.Kulzer Florian |

Date: Tue, 30 Oct 2007 23:32:18 +0100 From: Florian Kulzer <florian.kulzer+debian@icfo.es> To: debian-user@lists.debian.org Subject: Re: Tool to configure sound Message-ID: <20071030223218.GB24751@pc0197> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Oct 30, 2007 at 23:09:47 +0100, Richard Lyons wrote:
> On Tue, Oct 30, 2007 at 10:13:30PM +0100, Florian Kulzer wrote:
> > On Tue, Oct 30, 2007 at 22:00:43 +0100, Richard Lyons wrote:
> [...]
> > >
> > > Mine is an Acer Aspire 1640Z, FWIW.
> >
> > What happens if you run "speaker-test", do you get an error message or
> > is it just not producing any sound?
>
> It says this sort of thing:
>
> speaker-test 1.0.13
>
> Playback device is default
> Stream parameters are 48000Hz, S16_LE, 1 channels
> Using 16 octaves of pink noise
> Rate set to 48000Hz (requested 48000Hz)
> Buffer size range from 2048 to 16384
> Period size range from 1024 to 1024
> Using max buffer size 16384
> Periods = 4
> was set period_size = 1024
> was set buffer_size = 16384
> 0 - Front Left
> Time per period = 2,657907
> 0 - Front Left
> Time per period = 2,986793
> 0 - Front Left
> Time per period = 2,986802
> 0 - Front Left
> Time per period = 2,986797
> 0 - Front Left
> ...
>
> until I ctl-c out of it. But silently.
>
> That doesn't look to me like errors.
That is indeed the normal output, so speaker-test seems to think everything is OK. What do you get from running "amixer"? -- Regards, | http://users.icfo.es/Florian.Kulzer Florian |

Date: Wed, 31 Oct 2007 00:55:07 +0200 From: "Sinan Nalkaya" <erchamion.beren@gmail.com> To: debian-user@lists.debian.org Subject: bcm43xx problem Message-ID: <59dfa1450710301555h6e430c23v4aedd3a8ba58fd2d@mail.gmail.com> Content-Type: multipart/alternative; boundary="----=_Part_5687_23131742.1193784907816" ------=_Part_5687_23131742.1193784907816 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, i have updated Etch installed, Dell inspiron 1501 laptop, which has broadcom wireless chip on it. i followed the every instruction step by step on http://bcm43xx.berlios.de/ . since i have an supported chip (4311 rev1) according to the list on bcm43xx homepage, i installed the bcm43xx-fwcutter, run it and get the needed *.fw files under /lib/firmware, but udev couldnt create device file for my wireless ethernet. here is the commands i typed and results. sinan:/home/sinan# lspci -nn | grep 14e4 05:00.0 Network controller [0280]: Broadcom Corporation Dell Wireless 1390 WLAN Mini-PCI Card [14e4:4311] (rev 01) 08:00.0 Ethernet controller [0200]: Broadcom Corporation BCM4401-B0 100Base-TX [14e4:170c] (rev 02) sinan:/home/sinan#modprobe bcm43xx dmesg; ieee80211_crypt: registered algorithm 'NULL' ieee80211: 802.11 data/management/control stack, git-1.1.13 ieee80211: Copyright (C) 2004-2005 Intel Corporation < jketreno@linux.intel.com> bcm43xx driver lsmod; bcm43xx 408640 0 firmware_class 10048 1 bcm43xx ieee80211softmac 27456 1 bcm43xx ieee80211 30664 2 bcm43xx,ieee80211softmac ieee80211_crypt 6272 1 ieee80211 udev-monitor; sinan:/sys/class/net# udevmonitor udevmonitor prints the received event from the kernel [UEVENT] and the event which udev sends out after rule processing [UDEV] UEVENT[1193788238.883126] add@/module/ieee80211_crypt UDEV [1193788238.884073] add@/module/ieee80211_crypt UEVENT[1193788238.886112] add@/module/ieee80211 UDEV [1193788238.887048] add@/module/ieee80211 UEVENT[1193788238.888978] add@/module/ieee80211softmac UDEV [1193788238.889910] add@/module/ieee80211softmac UEVENT[1193788238.891280] add@/module/firmware_class UEVENT[1193788238.894374] add@/module/bcm43xx UEVENT[1193788238.906811] add@/bus/pci/drivers/bcm43xx UDEV [1193788238.907735] add@/module/firmware_class UDEV [1193788238.908371] add@/module/bcm43xx UDEV [1193788238.908935] add@/bus/pci/drivers/bcm43xx kernel is 2.6.18-5-k7 what can i try from here,i dont want to use ndiwrapper. thanks. ------=_Part_5687_23131742.1193784907816 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, <br><br>i have updated Etch installed, Dell inspiron 1501 laptop, which has broadcom wireless chip on it. i followed the every instruction&nbsp;step&nbsp;by&nbsp;step&nbsp;on&nbsp;<a href="http://bcm43xx.berlios.de/">http://bcm43xx.berlios.de/ </a>&nbsp;.&nbsp;since i&nbsp;have&nbsp;an&nbsp;supported&nbsp;chip&nbsp;(4311 rev1) according&nbsp;to&nbsp;the&nbsp;list&nbsp;on&nbsp;bcm43xx&nbsp;homepage,&nbsp;i&nbsp;installed&nbsp;the&nbsp;bcm43xx-fwcutter,&nbsp;run&nbsp;it&nbsp;and&nbsp;get&nbsp;the&nbsp;needed&nbsp;*.fw&nbsp;files&nbsp;under&nbsp;/lib/firmware,&nbsp;but&nbsp;udev&nbsp;couldnt&nbsp;create&nbsp;device&nbsp;file&nbsp;for&nbsp;my wireless&nbsp;ethernet.&nbsp;here&nbsp;is&nbsp;the&nbsp;commands&nbsp;i&nbsp;typed&nbsp;and&nbsp;results. <br> <br>sinan:/home/sinan# lspci -nn | grep 14e4<br>05:00.0 Network controller [0280]: Broadcom Corporation Dell Wireless 1390 WLAN Mini-PCI Card [14e4:4311] (rev 01)<br>08:00.0 Ethernet controller [0200]: Broadcom Corporation BCM4401-B0 100Base-TX [14e4:170c] (rev 02) <br>sinan:/home/sinan#modprobe bcm43xx<br>dmesg;<br>ieee80211_crypt: registered algorithm &#39;NULL&#39;<br>ieee80211: 802.11 data/management/control stack, git-1.1.13<br>ieee80211: Copyright (C) 2004-2005 Intel Corporation &lt; <a href="mailto:jketreno@linux.intel.com">jketreno@linux.intel.com</a>&gt;<br>bcm43xx driver<br><br>lsmod;<br>bcm43xx 408640 0<br>firmware_class 10048 1 bcm43xx<br>ieee80211softmac 27456 1 bcm43xx <br>ieee80211 30664 2 bcm43xx,ieee80211softmac<br>ieee80211_crypt 6272 1 ieee80211<br><br>udev-monitor;<br>sinan:/sys/class/net# udevmonitor<br>udevmonitor prints the received event from the kernel [UEVENT] <br>and the event which udev sends out after rule processing [UDEV]<br><br>UEVENT[1193788238.883126] add@/module/ieee80211_crypt<br>UDEV [1193788238.884073] add@/module/ieee80211_crypt<br>UEVENT[1193788238.886112] add@/module/ieee80211 <br>UDEV [1193788238.887048] add@/module/ieee80211<br>UEVENT[1193788238.888978] add@/module/ieee80211softmac<br>UDEV [1193788238.889910] add@/module/ieee80211softmac<br>UEVENT[1193788238.891280] add@/module/firmware_class <br>UEVENT[1193788238.894374] add@/module/bcm43xx<br>UEVENT[1193788238.906811] add@/bus/pci/drivers/bcm43xx<br>UDEV [1193788238.907735] add@/module/firmware_class<br>UDEV [1193788238.908371] add@/module/bcm43xx<br>UDEV [ 1193788238.908935] add@/bus/pci/drivers/bcm43xx<br><br>kernel is 2.6.18-5-k7<br><br>what can i try from here,i dont want to use ndiwrapper.<br>thanks.<br><br><br><br><br> ------=_Part_5687_23131742.1193784907816--

Date: Tue, 30 Oct 2007 19:01:32 -0400 From: Marty <martyb@ix.netcom.com> To: debian-user@lists.debian.org Cc: debian-user@lists.debian.org Subject: Re: /etc/host.conf questions Message-ID: <4727B7CC.9080606@ix.netcom.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mike Kuhar wrote:
> That would be
> /etc/nsswitch.conf
Is this file used by Etch? Here is what I get with the apt-file "search" command: # apt-file search /etc/nsswitch.conf gosa: usr/share/doc/gosa/contrib/altlinux/etc/nsswitch.conf systemimager-boot-i386-standard: usr/share/systemimager/boot/i386/standard/initrd_template/etc/nsswitch.conf systemimager-boot-ia64-standard: usr/share/systemimager/boot/ia64/standard/initrd_template/etc/nsswitch.conf yard: usr/share/yard/Replacements/etc/nsswitch.conf > > on the line marked 'hosts' > > -mike
>
> -----Original Message-----
> From: Paul E Condon [mailto:pecondon@mesanetworks.net]
> Sent: Tuesday, October 30, 2007 11:21 AM
> To: debian-user@lists.debian.org
> Subject: /etc/host.conf questions
>
> I'm running Etch. I'm involved in a project to understand
> how networking is set up on my home lan. I'm looking at
> /etc/host.conf . It contains a single line:
>
> multi on
>
> man host.conf says that a possible config-line in host.conf
> is 'order', and there is no such line in my copy. This line
> is supposed to determine whether BIND or /etc/hosts if
> searched first. Since there is no such line, resolver must
> be doing some default. What is the default order in Debian
> Etch? Or, is there some other place where the order is really
> set in Debian Etch?
>

Date: Tue, 30 Oct 2007 17:22:16 -0600 From: Nate Duehr <nate@natetech.com> To: Debian Users <debian-user@lists.debian.org> Subject: Re: Apt-Get or Aptitude Message-Id: <A6266E6B-16DA-4B9F-9E7D-B217730A3EC9@natetech.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Oct 29, 2007, at 9:49 PM, Daniel Burrows wrote:
> Also, I was trying to gently point out that there's more to aptitude
> than the command-line. Excluding generic shared code, the rest of
> aptitude is about 6 times larger than the command-line interface,
> and it
> would be nice to think people occasionally use all that stuff. :-) I
> occasionally notice people writing that they just discovered
> aptitude's
> curses interface after using it for ages, so I know that this isn't
> universally known.
Ahhhh! I see. You were doing a little marketing for the CUI. :-) I actually knew about the curses interface before I ever tried the command-line... and like it more, since it has more powerful features. But then again, I was coming from dselect, and very used to that curses interface years and years ago. I think the niftiest feature (and one that still has me scratching my head as to how you accomplished it) is the MOUSE control in curses over SSH from a WINDOWS box?! That's amazing. (In case you're not sure what I mean... get on a Windows box, fire up PuTTY (I'm sure PuTTY is also "helping" in this scenario somehow) and then click on the menu items in the curses interface with a mouse. Whoa... it works? I stumbled across that by accident one day, and it's one of my favorite things to show programmers who think they're really good curses programmers... "Can you make your app do THIS?" Heh heh. Wild.) aptitude is by far one of the best package management tools out there. Newbies and folks really stuck in the graphic-oriented/desktop user world may like synaptic better, but for just getting things done -- aptitude wins hands down, almost all the time. -- Nate Duehr nate@natetech.com

Date: Wed, 31 Oct 2007 00:28:46 +0100 From: Richard Lyons <richard@the-place.net> To: debian-user@lists.debian.org Subject: Re: Tool to configure sound Message-ID: <20071030232839.GJ4858@mulinocarletti.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Oct 30, 2007 at 11:32:18PM +0100, Florian Kulzer wrote: [...]
>
> That is indeed the normal output, so speaker-test seems to think
> everything is OK. What do you get from running "amixer"?
Florian, hello. How nice to have your help once again. Simple mixer control 'PCM',0 Capabilities: pvolume Playback channels: Front Left - Front Right Limits: Playback 0 - 255 Mono: Front Left: Playback 230 [90%] Front Right: Playback 230 [90%] Simple mixer control 'Front',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 24 [77%] [on] Front Right: Playback 24 [77%] [on] Simple mixer control 'Line',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 19 [61%] [on] Front Right: Playback 19 [61%] [on] Simple mixer control 'Mic',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 4 [13%] [off] Front Right: Playback 4 [13%] [off] Simple mixer control 'IEC958',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off] Simple mixer control 'Capture',0 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 31 Front Left: Capture 0 [0%] [off] Front Right: Capture 0 [0%] [off] Simple mixer control 'Capture',1 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 31 Front Left: Capture 0 [0%] [on] Front Right: Capture 0 [0%] [on] Simple mixer control 'Input Source',0 Capabilities: enum Items: 'Mic' 'Line' Item0: 'Mic' Simple mixer control 'Input Source',1 Capabilities: enum Items: 'Mic' 'Line' Item0: 'Mic' I assume this is listing the results of my last wild click-on- anything-to-see-if-it-helps session with alsamixergui. Needless to say, nothing did help. Perhaps the sound is just muted because Debian doesn't know about the blue function key things on the laptop. I have tried pressing the speaker-related ones, but also to no avail. Debian doesn't know about the screen brightness keys either -- gives 2 error messages for every keypress -- but they still work on the brightness. -- richard

Do you need more help?X

Date: Wed, 31 Oct 2007 05:15:08 +0530 From: Raj Kiran Grandhi <grajkiran@gmail.com> To: Rodolfo Medina <rodolfo.medina@gmail.com> Cc: debian-user@lists.debian.org Subject: Re: Contacts printing Message-ID: <4727C204.30502@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Rodolfo Medina wrote:
> On Mon, Oct 29, 2007 at 01:12:06PM +0100, Rodolfo Medina wrote:
>
>>>>>> I wish a way to print the >>>>>> Contacts (about 300) that I have stored in a directory, one per file.
>
>
> Douglas A. Tutty" <dtutty@porchlight.ca> writes:
>
>>>>> I think you just need to write a script in your favorite language to >>>>> parse the files and format it to your liking then just print it out.
>
>
> Rodolfo:
>
>>>> Every file is like this: >>>> >>>> BEGIN:VCARD >>>> VERSION:2.1 >>>> N:;Oliver Hardy ;;; >>>> TEL;CELL:3391234567 >>>> TEL;VOICE;HOME:081123567 >>>> FN:Oliver Hardy >>>> END:VCARD >>>> >>>> , so the major problem would be sorting: how to sort whole items like that?
>
>
> "Douglas A. Tutty" <dtutty@porchlight.ca> writes:
>
>>>> So, assume that anything is possible: >>>> >>>> 1. What do you want to do?
>
>
> Rodolfo:
>
>>> I want to cat all those file into one file and then sort the above entries, I >>> don't know how. I also want to eliminate redundant symbols and words like >>> `BEGIN:VCARD', `END:VCARD', `N:;', `VERSION:2.1' etc.
>
>
> Douglas:
>
>>>> 2. In what language do you want to do it?
>
>
> Rodolfo:
>
>>> This is the same for me.
>
>
> Douglas:
>
>> What I mean is, in which programming language(s) are you proficient?
>
> None.
The following line will get you your contacts in a format you can import into a spreadsheet. $ for file in /path/to/dir/*;do tail -n4 $file|head -n 3 \ |cut -f 2 -d :|xargs echo $(basename $file);done That will put the filename, the two phone numbers and name in each line. You might want to replace the spaces with comma's and save the file to some name ending with .csv to ease import into a spreadsheet

Date: Tue, 30 Oct 2007 19:43:08 -0400 From: steve <sfreilly@roadrunner.com> To: debian-user@lists.debian.org Subject: Re: Charging iPod / Listening to music Message-ID: <4727C18C.7030204@roadrunner.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Richard Lyons wrote:
> On Tue, Oct 30, 2007 at 11:01:53PM +0100, Mathieu Malaterre wrote:
>
>> When I plug my iPod using the USB cable I get the 'Do not >> disconnect' screen on the ipod. It's great because I can see the ipod >> is charging. But to listen to music I do not understand what I need to >> do. I tried: its not possible to listen and charge an ipod on any platform with the "ipod firmware". I went through this many years ago. Maybe look at rockbox? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHJ8GLvcaLutW7oXQRApeaAJ9EGGEcwcuUXoRw2qHijkSrFt7+NACdE+dr P6k7lqvn9CB39LAmjnfpx2A= =Ed0M -----END PGP SIGNATURE-----

Date: Wed, 31 Oct 2007 05:30:10 +0530 From: Raj Kiran Grandhi <grajkiran@gmail.com> To: Siju George <sgeorge.ml@gmail.com> Cc: Debian User <debian-user@lists.debian.org> Subject: Re: etch apt - Failed to fetch kernel, Size Mismatch error Message-ID: <4727C58A.4020900@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Siju George wrote:
> Hi I am unable to upgrade my Debian Etch System to the new kernel.
> Could some one please help me with this?
>
> Details below
>
> ======================================================
> fsdc:~# cat /etc/apt/sources.list
> deb http://ftp.de.debian.org/debian/ etch main contrib
> deb http://security.debian.org etch/updates main contrib
> #for sun java
> #deb http://ftp.de.debian.org/debian/ unstable non-free
> fsdc:~# apt-get update
> Get:1 http://security.debian.org etch/updates Release.gpg [189B]
> Get:2 http://ftp.de.debian.org etch Release.gpg [378B]
> Hit http://security.debian.org etch/updates Release
> Hit http://ftp.de.debian.org etch Release
> Ign http://security.debian.org etch/updates/main Packages/DiffIndex
> Ign http://ftp.de.debian.org etch/main Packages/DiffIndex
> Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
> Ign http://ftp.de.debian.org etch/contrib Packages/DiffIndex
> Hit http://security.debian.org etch/updates/main Packages
> Hit http://ftp.de.debian.org etch/main Packages
> Hit http://security.debian.org etch/updates/contrib Packages
> Hit http://ftp.de.debian.org etch/contrib Packages
> Fetched 2B in 2s (1B/s)
> Reading package lists... Done
> fsdc:~# apt-get dist-upgrade
> Reading package lists... Done
> Building dependency tree... Done
> Calculating upgrade... Done
> The following packages will be upgraded:
> dhcp-client librpcsecgss3 linux-image-2.6.18-5-486 linux-image-2.6.18-5-686
> 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Need to get 32.5MB/32.6MB of archives.
> After unpacking 24.6kB disk space will be freed.
> Do you want to continue [Y/n]? y
> Get:1 http://security.debian.org etch/updates/main
> linux-image-2.6.18-5-486 2.6.18.dfsg.1-13etch4 [16.2MB]
> Get:2 http://security.debian.org etch/updates/main
> linux-image-2.6.18-5-686 2.6.18.dfsg.1-13etch4 [16.3MB]
> Fetched 652B in 1s (398B/s)
> Failed to fetch
> http://security.debian.org/pool/updates/main/l/linux-2.6/linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch4_i386.deb
> Size mismatch
> Failed to fetch
> http://security.debian.org/pool/updates/main/l/linux-2.6/linux-image-2.6.18-5-686_2.6.18.dfsg.1-13etch4_i386.deb
> Size mismatch
> E: Unable to fetch some archives, maybe run apt-get update or try with
> --fix-missing?
> fsdc:~# apt-get update --fix-missing
> Get:1 http://security.debian.org etch/updates Release.gpg [189B]
> Get:2 http://ftp.de.debian.org etch Release.gpg [378B]
> Hit http://security.debian.org etch/updates Release
> Hit http://ftp.de.debian.org etch Release
> Ign http://security.debian.org etch/updates/main Packages/DiffIndex
> Ign http://ftp.de.debian.org etch/main Packages/DiffIndex
> Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
> Ign http://ftp.de.debian.org etch/contrib Packages/DiffIndex
> Hit http://security.debian.org etch/updates/main Packages
> Hit http://ftp.de.debian.org etch/main Packages
> Hit http://security.debian.org etch/updates/contrib Packages
> Hit http://ftp.de.debian.org etch/contrib Packages
> Fetched 2B in 2s (1B/s)
> Reading package lists... Done
> fsdc:~# apt-get dist-upgrade
> Reading package lists... Done
> Building dependency tree... Done
> Calculating upgrade... Done
> The following packages will be upgraded:
> dhcp-client librpcsecgss3 linux-image-2.6.18-5-486 linux-image-2.6.18-5-686
> 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Need to get 32.5MB/32.6MB of archives.
> After unpacking 24.6kB disk space will be freed.
> Do you want to continue [Y/n]? y
> Get:1 http://security.debian.org etch/updates/main
> linux-image-2.6.18-5-486 2.6.18.dfsg.1-13etch4 [16.2MB]
> Get:2 http://security.debian.org etch/updates/main
> linux-image-2.6.18-5-686 2.6.18.dfsg.1-13etch4 [16.3MB]
> Fetched 652B in 1s (465B/s)
> Failed to fetch
> http://security.debian.org/pool/updates/main/l/linux-2.6/linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch4_i386.deb
> Size mismatch
> Failed to fetch
> http://security.debian.org/pool/updates/main/l/linux-2.6/linux-image-2.6.18-5-686_2.6.18.dfsg.1-13etch4_i386.deb
> Size mismatch
> E: Unable to fetch some archives, maybe run apt-get update or try with
> --fix-missing?
> fsdc:~# uname -a
> Linux fsdc 2.6.18-5-486 #1 Thu Aug 30 01:46:45 UTC 2007 i686 GNU/Linux
> fsdc:~#
> =====================================================
> Thank you so much :-)
>
> Kind Regards
> Siju
>
>
Inspect the output of $ apt-cache show linux-image-2.6.18-5-486 --no-all-versions and $ wget --spider \ http://security.debian.org/pool/updates/main/l/linux-2.6/linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch4_i386.deb Compare the "Size" field of apt-cache output with the "Length" field of wget output. They should match. (they do on my system) If you get different sizes, then delete all the cached package lists in /var/lib/apt/lists, run apt-get update and apt-get dist-upgrade again to see if it fixes the problem

Date: Wed, 31 Oct 2007 00:53:46 +0100 From: Richard Lyons <richard@the-place.net> To: debian-user@lists.debian.org Subject: Re: Apt-Get or Aptitude Message-ID: <20071030235341.GK4858@mulinocarletti.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Oct 30, 2007 at 05:22:16PM -0600, Nate Duehr wrote: [...]
> aptitude is by far one of the best package management tools out
> there. Newbies and folks really stuck in the graphic-oriented/desktop
> user world may like synaptic better, but for just getting things done
> -- aptitude wins hands down, almost all the time.
I do agree! Just occasionally, I fire up synaptic to browse a category, say stuff to do with sound, or mail for example. It is slightly easier in synaptic to browse than it is in aptitude. And I wish you could reverse direction in mid-search in aptitude. I often race past a relevant match by being too quick on the "n". If only "b" for back or "p" for previous or "N" or whatever switched the direction without having to reenter the search using \ or page up enough times to probably pass whatever it was you didn't quite see... Anyway, niggles apart, aptitude rules OK. -- richard End of debian-user-digest Digest V2007 Issue #2710 ************************************************** Received on Tue Oct 30 20:12:34 2007

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 02:55:39 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library