Any way to create a new /var/lib/dpkg/status file for current Debian installation
So I have been using my current Debian instalaltion for almost a year now and over this time I have installed, purged and deinstalled a lot of packages. It seems that the status file maintains a list of all the packages and their current states that have been ever installed on the system since the fresh installation. For example: debian:/var/lib/dpkg# cat status | grep custom Package: linux-image-2.6.28-custom-test1 Package: linux-image-2.6.28-custom-test2 Package: linux-image-2.6.29-custom-test1 Package: linux-image-2.6.29-custom-test2 The above packages are no longer installed on my system (since last 6 months) but the dpkg library (status file) stilll keeps track of them. So my question is: Is there any way by which I can regenerate a fresh "/var/lib/dpkg/status" file for all the packages that are currently installed on my systems? Nothing is wrong on my system as such but space is premium for me (even 1 MB matters) as I am using a compact flash of a relatively small size (approx. 512 MB). Another reason is that I am just curios to find out how to regenerate it if one has to. Thanks
Re: Any way to create a new /var/lib/dpkg/status file for current Debian installation
> > Jeffrey, > > >Don't know if there's automatic way. But one way you can try is to write a > >script to remove those sections whose "Status" is not "installed" in the > >file /var/lib/dpkg/status. > I thought about that but I wondering if APT package management has some > in-built way to do it automatically. The "status" file is an important file > in Debian package managment system so I would prefer something from > maintainers rather than running my home brewed script. > > Thanks for the reply though. >
Incorrect reporting of memory installed on system by "free"?
So I know my system has 2 GB Memory. debian:~# uname -a Linux debian 2.6.26-2-amd64 #1 SMP Thu Nov 5 02:23:12 UTC 2009 x86_64 GNU/Linux debian:~# cat /proc/meminfo MemTotal: 2063496 kB MemFree: 30268 kB Buffers:396792 kB Cached: 744344 kB SwapCached: 29612 kB Active: 975684 kB Inactive: 765796 kB SwapTotal: 3903752 kB SwapFree: 3845308 kB Dirty: 152 kB Writeback: 0 kB AnonPages: 594968 kB Mapped: 86052 kB Slab: 233896 kB SReclaimable: 218740 kB SUnreclaim: 15156 kB PageTables: 20944 kB NFS_Unstable:0 kB Bounce: 0 kB WritebackTmp:0 kB CommitLimit: 4935500 kB Committed_AS: 1117064 kB VmallocTotal: 34359738367 kB VmallocUsed:178456 kB VmallocChunk: 34359559163 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB debian:~# debian:~# free -k total used free sharedbuffers cached Mem: 20634962033428 30068 0 396828 744344 -/+ buffers/cache: 8922561171240 Swap: 3903752 584443845308 debian:~# free -m total used free sharedbuffers cached Mem: 2015 1985 29 0387726 -/+ buffers/cache:871 1143 Swap: 3812 57 3755 So far everything looks good. However when I try to report the memory in GBs, I get: debian:~# free -g total used free sharedbuffers cached Mem: 1 1 0 0 0 0 -/+ buffers/cache: 0 1 Swap:3 0 3 It just shows that there is just 1 GB of memory installed in total. Am I missing something? Should I file a bug report? Thanks
Re: Incorrect reporting of memory installed on system by "free"? (SOLVED)
James, >( 2015 / 1024 ) = 1.96GB, which is what you are expecting. > But Int( 2015 / 1024 ) = 1, which is what you are seeing. Thanks for the wonderful explanation.
Disabling Swap Activation Message
I installed Debian Lenny on my PC (/dev/hda1) without any swap partition. I recompiled my kernel to boot without using an initrd. Now when I boot to my base system, I still see following messages from the init scripts on my console: Activating swap...Done . Activating swapfile sawp...Done After doing a find it seems that these messages are spitted out by scripts mountall.sh and checkroot.sh files in /etc/init.d/ directory. My question is what is the best way to disable these messages and the associated function with those messages? Should I just comment out the relevant swap portition in those two init files? Here are contents of my fstab file: # less /etc/fstab # /etc/fstab: static file system information. # # proc/proc procdefaults0 0 /dev/hda1 / ext3errors=remount-ro 0 1 /dev/hdb/media/cdrom0 udf,iso9660 user,noauto 0 0 /etc/fstab (END) Here is my drive structure: debian:/etc/init.d# fdisk -l /dev/hda Disk /dev/hda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x9c9a78cd Device Boot Start End Blocks Id System /dev/hda1 * 1182414651248+ 83 Linux /dev/hda218255472293025605 Extended /dev/hda51825364814651248+ 83 Linux /dev/hda63649547214651248+ 83 Linux debian:/etc/init.d# Thanks
Please recommend: Simple, Web-based Issue tracking system for internal use
Hi all, I am planning to use a issue tracking system (on Debian Lenny PC) for reporting bugs against software packages (not related to Debian or any linux distribution) internal to my organization. Here is a brief overview of the process... ** Let's say the first version of a software package is released with the following name: SW-PKG-A-R1.0 Now after passing of certain amount of time few bugs/features are reported against it this release. Consequently some of the bugs/featurs will be fixed in the next minor release: SW-PKG-A-R1.1 or may be deffered until a major release: SW-PKG-A-R2.0 Similarly there will be software packages like: SW-PKG-B-R1.0 SW-PKG-C-R1.0 and so on which will also go through the same cycle. ** So basically I am looking for an issue tracking system which will: a) Let people in my organization know about the status of the bug/features against each package. They can just go to http://mymachine/ and see the overall status b) Let people in my organization file bug reports and feature request via web browser. c) Let the admin of the system (mostly me) set the status of the requests. For example: - will be fixed in next release - will not fixed - fixed - closed etc. So far I have tried the "mantis" and I think it is quite good but I find the interface confusing sometimes. I would like to know if there is a better issue tracking system (trac, roundup?) that will suffice my needs. Please note that the scalability is not an issue since at the most only 5 people will use this system including the admin person. Thanks.
Re: Running Debian Lenny from ramdisk
Did you take a look at this? http://packages.debian.org/squeeze/debirf I have used it couple of times and I have been able to boot from RAM. The package is not in current stable version though but you can easily backport it.
Extracting Dependencies of a deb package which is not a part of DPKG system
So I downloaded the opera browser deb file - opera_10.10.4742.gcc4.qt3_i386.deb. What I am trying to do is first find out what all packages does this deb file depends on and then install those packages first (using apt-get) and then finally install this deb file (using dpkg -i opera_10.10.4742.gcc4.qt3_i386.deb). Now on giving the command: dpkg --info opera_10.10.4742.gcc4.qt3_i386.deb | grep Depends[ I get the following output: Depends: libc6 (>= 2.1.3), xlib6g (>= 3.3.6) | xlibs | libxmu6, debconf (>= 0.5) | debconf-2.0, libqt3-mt (>= 3.3.4), libstdc++6 Now my question is what is the best way I can extract/list just the names of the above packages (using awk, sed?) so that I feed the list to apt-get to first install them and then run dpkg -i opera* I know an apt-get -f install after the first attempt to install it would take care of this but I am trying to automate this installation process through a script also keeping in mind that the dependencies of opera package might change in the future. Alternatively, if anyone can suggest a better method on how to achieve that would be great. Thanks, Tech Geek
Re: Extracting Dependencies of a deb package which is not a part of DPKG system
My bad...I didn't realize opera has a Debian repository..That should certainly solve the problem... Thanks for all your inputs...
Can't install deb kernel in chroot environment
I know this use to work in Debian Etch but it is not working in Lenny. So I am trying to install a kernel image (after custom compiling) on a exisiting Debian Lenny installation which is on a hard drive partition (/dev/hda5). Here is what I am doing as "root" from a current Debian installation (on /dev/hda1) that I have booted off : # uname -a Linux debian 2.6.32-8-test #1 PREEMPT Fri Mar 5 02:59:48 UTC 2010 i586 GNU/Linux # mount /dev/hda5 /mnt # chroot /mnt # mount -t proc none /proc # cd root # dpkg -i linux-image-2.6.30-8-bpo50-test_2.6.30-8-bpo50-test-10.00.Custom_i386.deb Selecting previously deselected package linux-image-2.6.30-8-bpo50-test. (Reading database ... 11327 files and directories currently installed.) Unpacking linux-image-2.6.30-8-bpo50-test (from linux-image-2.6.30-8-bpo50-test_2.6.30-8-bpo50-test-10.00.Custom_i386.deb) ... Done. Setting up linux-image-2.6.30-8-bpo50-test (2.6.30-8-bpo50-test-10.00.Custom) ... Hmm. There is a symbolic link /lib/modules/2.6.30-8-bpo50-test/build However, I can not read it: No such file or directory Therefore, I am deleting /lib/modules/2.6.30-8-bpo50-test/build Hmm. The package shipped with a symbolic link /lib/modules/2.6.30-8-bpo50-test/source However, I can not read the target: No such file or directory Therefore, I am deleting /lib/modules/2.6.30-8-bpo50-test/source Running depmod. Running postinst hook script update-grub. Searching for GRUB installation directory ... found: /boot/grub User postinst hook script [update-grub] exited with value 1 dpkg: error processing linux-image-2.6.30-8-bpo50-test (--install): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: linux-image-2.6.30-8-bpo50-test # Why is dpkg giving me errors? What did I miss? Note that the kernel that I am trying to install is suppose to boot without initrd. I have installed this kernel on /dev/hda1 without any problems and I am booting just fine from it. Thanks
Re: [SOLVED] Can't install deb kernel in chroot environment
> Also, you should mount proc inside of the chroot, not to /proc. `mount -o bind > dev /mnt/dev; mount -t proc none /mnt/proc` Thanks! That worked!
Where is this deb.opera.com repository still coming from?
I was under the impression that whenever you run apt-get update it reads the repositories listed in /etc/apt/sources.list file and fetches the contents of it but apparently something else is going on too... So somtime back I added the following line in my /etc/apt/sources.list: # Opera Browser Repository deb http://deb.opera.com/opera/ stable non-free and then installed opera browser from it: apt-get update; apt-get install opera Now after sometime I removed the opera repository line from sources.list (but the package is still installed) and then when I ran apt-get update, I still saw apt-get trying to read the opera repository like this: debian:/var/lib/apt# apt-get update Hit http://security.debian.org stable/updates Release.gpg Ign http://security.debian.org stable/updates/main Translation-en_US Hit http://mirrors.kernel.org stable Release.gpg Ign http://mirrors.kernel.org stable/main Translation-en_US Hit http://security.debian.org stable/updates Release Hit http://mirrors.kernel.org stable Release Ign http://security.debian.org stable/updates/main Packages/DiffIndex Hit http://deb.opera.com stable Release.gpg Ign http://deb.opera.com stable/non-free Translation-en_US Hit http://security.debian.org stable/updates/main Packages Ign http://mirrors.kernel.org stable/main Packages/DiffIndex Hit http://mirrors.kernel.org stable/main Packages Hit http://deb.opera.com stable Release Ign http://deb.opera.com stable/non-free Packages/DiffIndex Ign http://deb.opera.com stable/non-free Packages Hit http://deb.opera.com stable/non-free Packages Reading package lists... Done debian:/var/lib/apt# Here is my sources.list file that I used to ran the above apt-get update command: #Stable deb http://mirrors.kernel.org/debian stable main #deb-src http://mirrors.kernel.org/debian stable main #Testing #deb http://mirrors.kernel.org/debian testing main #deb-src http://mirrors.kernel.org/debian testing main #Unstable #deb http://mirrors.kernel.org/debian unstable main #deb-src http://mirrors.kernel.org/debian unstable main #For Security patches deb http://security.debian.org/ stable/updates main #Debian Backports #deb http://www.backports.org/debian/ lenny-backports main And here is the output of the package lists of the repositories: debian:~# ls /var/lib/apt/lists/ deb.opera.com_opera_dists_stable_non-free_binary-i386_Packages deb.opera.com_opera_dists_stable_Release deb.opera.com_opera_dists_stable_Release.gpg lock mirrors.kernel.org_debian_dists_stable_main_binary-i386_Packages mirrors.kernel.org_debian_dists_stable_Release mirrors.kernel.org_debian_dists_stable_Release.gpg partial security.debian.org_dists_stable_updates_main_binary-i386_Packages security.debian.org_dists_stable_updates_Release security.debian.org_dists_stable_updates_Release.gpg debian:~# Not sure what is happening and from where apt-get is still seeing the opera repo line. I have always use apt-get. Thanks
glxinfo setting to verbose mode outputs no extra info?
Hi, I am using Debian Lenny on a PC. I am trying to figure out why direct rendering is not working so upon giving "glxinfo" command I get: # glxinfo > glxinfo.txt name of display: :0.0 display: :0 screen: 0 direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose) server glx vendor string: SGI server glx version string: 1.2 server glx extensions: . . So I set: # export LIBGL_DEBUG=verbose and then gave the command again: # glxinfo > glxinfo-debug.txt However, setting to verbose mode did not produce any extra output: # diff glxinfo.txt glxinfo-debug.txt What did I do wrong? Thanks
Re: glxinfo setting to verbose mode outputs no extra info?
> What driver do you use? Basically I am using ATI Rage Mobility M1 card and Xorg is using "mach64" driver. # lspci | grep VGA 00:04.0 VGA compatible controller: ATI Technologies Inc Rage Mobility P/M (rev 64) # # cat /var/log/Xorg.0.log | grep driver X.Org XInput driver : 2.0 (==) Matched mach64 for the autoconfigured driver (==) Assigned the driver to the xf86ConfigLayout (II) Loading /usr/lib/xorg/modules/drivers//mach64_drv.so ABI class: X.Org XInput driver, version 2.0 ABI class: X.Org XInput driver, version 2.0 (II) MACH64(0): Not using driver mode "1024x768" (mode clock too high) (II) MACH64(0): Not using driver mode "640x480" (hsync out of range) # Thanks
Re: glxinfo setting to verbose mode outputs no extra info?
Thanks Ron for the link. That was informative. I will try to go that route. But the original question still remains unanswered as to why setting LIBGL_DEBUG=verbose does not produces more ouput as it claims. Should I file a bug report against mesa-utils package?
Running GNOME with 128 MB RAM - Painfully slow?
So I have a very low end system which has 128 MB of RAM and a 486 based x86 processor. After installing GNOME on Lenny, as soon as I launch firefox, opera or any other relatively intensive application the system comes to a crawl and becomes slow and sluggish. The system load increase up tp 5, the CPU usage also shoots up to 25% and things become painfully slow to operate i.e. become less responsive. Is there some kind of min. system requirements for running GNOME? Are there any tricks to make the system more responsive? Would adding swap help? Right now my system does not have any swap partition. Anybody's input who has expereince running GNOME on a low end system like this would be helpful. Thanks
Re: Running GNOME with 128 MB RAM - Painfully slow?
>You can try adding swap but I doubt it will help much as the disk is so old and slow The hard drive is quite recent and supports up to UDMA2 speeds although I too think that adding swap space won't make a difference. >Adding another 128MB or 256MB of memory would probably help the most with that system Unfortunately there is no option to upgrade the memory on the system. Also I forgot to mention that it is a 800 MHz system: debian:~# cat /proc/cpuinfo processor : 0 vendor_id : Vortex86 SoC cpu family : 5 model : 2 model name : 05/02 stepping: 2 cpu MHz : 800.041 fdiv_bug: no hlt_bug : no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu tsc cx8 bogomips: 1600.08 clflush size: 32 cache_alignment : 32 address sizes : 32 bits physical, 32 bits virtual power management: Based on my specs (800 MHz CPU and 128 MB RAM) and [1], I still should be able to operate GNOME and some of the apps. However even opening gedit brings the system to crawl which is so surprising. I will add some swap and see if that makes a difference although I am not counting on it based on my past expereince. [1] http://library.gnome.org/misc/release-notes/2.0/#performance
Re: Running GNOME with 128 MB RAM - Painfully slow?
Hi, So I did get a chance to add swap to my system and guess what it made a significant difference. I had two instances of iceweasel, one instance of gedit, 3 gnome-terminal window open and the system is still running pretty decently. I know there is always the debate between how much Swap is sufficient - for my purpose, first I added 256 MB of swap file on the installation partition and then I reduced to 128 MB of swap and the system was still responsive. I don't know how far low I can go but for now it looks it will do the trick. I am so relieved that swap solution worked out pretty fine. I did not want to move to another distro because I like Debian a lot! I wonder if there is a way by which the swap dynamically grows in size as an when required? Thanks for everybody's input!
Re: Include a ftp client in initrd
> Why not use a more complete busybox? I don't think busybox has ftp client in it. It has ftpget.
Re: Finding the source for a NIC driver.
The source of your NIC driver should be in all kernel sources for each of the kernel that is installed on your system. Does that help? Type: # uname -r and see what kernel are you running and then check the source of the corresponding kernel?
Mounting partition from one drive to another driver (bind?)
So my Debian Lenny is installed on /dev/sda1 (ext3 formatted). My VMware Virtual Machines are stored at the following locations on /dev/sda1 # ls -l /var/lib/vmware/ total 8 drwxr-xr-x 3 root root 4096 2009-10-22 16:35 hostd drwxrwxrwt 10 root root 4096 2010-01-25 12:21 Virtual Machines # I am running out of space on my sda1 partition and hence I would like to use another empty ext3 partition (/dev/sda5) to store my Virtual Machine. Here is what I am thinking to do: 1. Copy all the stuff from ls -l /var/lib/vmware/Virtual Machines onto the /dev/sda6 parition. 2. Put the following in my /etc/fstab on /dev/sda1: /dev/sda6 /var/lib/vmware/Virtual Machines none bind 0 0 Just wanted to seek some opinions from experts on the above solution. Also will the space in "Virtual Machine" will be acceptable by fstab. Could I have just used: /dev/sda6 /var/lib/vmware/Virtual Machines ext3 errors=remount-ro 0 1 in my fstab? Thanks in advance.
Finding kernel modication that caused the boot failure using git-bisect?
Back in the days when Debian repo had the linux-image-2.6.30-bpo.2-686_2.6.30-8~bpo50+2_i386.deb kernel, I had installed on my PC. Now I have installed the current kernel package from lenny-backports -- linux-image-2.6.32-bpo.5-686_2.6.32-29~bpo50+1_i386.deb. The problem is that the old 2.6.30 kernel use to boot fine on my PC but the new 2.6.32 kernel hangs during PCI enumeration stage of the kernel boot phase.. [0.472235] ACPI: PCI Interrupt Link [LNKH] (IRQs 10 11 15) *0, disabled. [0.478536] vgaarb: device added: PCI::00:02.0,decodes=io+mem,owns=io+mem,locks=none [0.480017] vgaarb: loaded [0.484078] PCI: Using ACPI for IRQ routing [0.488278] Switching to clocksource tsc [0.494208] pnp: PnP ACPI init [0.497298] ACPI: bus type pnp registered [0.502819] pnp: PnP ACPI: found 7 devices [0.506912] ACPI: ACPI bus type pnp unregistered [0.511524] PnPBIOS: Disabled by ACPI PNP [0.550571] pci :01:00.0: PCI bridge, secondary bus :02 [0.556480] pci :01:00.0: IO window: disabled [0.561354] pci :01:00.0: MEM window: disabled [0.566312] pci :01:00.0: PREFETCH window: disabled [0.571706] pci :00:1c.0: PCI bridge, secondary bus :01 [0.577615] pci :00:1c.0: IO window: 0x1000-0x1fff [0.582918] pci :00:1c.0: MEM window: 0x8000-0x801f [0.588999] pci :00:1c.0: PREFETCH window: 0x8020-0x803f [0.595518] pci :00:1c.1: PCI bridge, secondary bus :03 [0.601425] pci :00:1c.1: IO window: 0xf000-0x [0.606729] pci :00:1c.1: MEM window: 0xdff0-0xdfff [0.612812] pci :00:1c.1: PREFETCH window: 0x8040-0x805f [0.619341] pci :00:1c.0: enabling device (0004 -> 0007) -the kernel hangs at this point-- Before reporting this bug to the kernel community I would like to find out what kernel commit between 2.6.30 and 2.6.32 made the later unbootable. Any ideas how can I use git tools like git-bisect to find out the culprit? A step-by-step tutorial would be really helpful. I have been able to reproduce this issue with the vanilla kernel from kernel.org. Thanks.
Re: Finding kernel modication that caused the boot failure using git-bisect?
Never mind. Found it in one of the Linus' post on LKML.
Kernel Config file for Debian Squeeze Install Disc
Hello, I was wondering where can I find (or view) the .config file for the kernel (vmlinuz) that comes on the Debian Squeeze install discs. I tried searching on the internet but nothing came up. Thanks. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CALXXvm4vA0bMA5d6HkMQsbqXRmVxzGAq=emaezc2ou9m1ky...@mail.gmail.com
Re: Kernel Config file for Debian Squeeze Install Disc
> It should be available at /boot/config-`uname -r` That would be true after the system installation finishes. What I am looking for is the config file for the kernel runs the installation process. For some reasons I suspect that there might be some difference between the kernel that installs Debian and the kernel that gets installed on the hard drive. To see what I am talking about, please see the bug report [1]. Thanks. [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633128 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/calxxvm7+tuvemvmc3pwxzvon0ty-q6g+rqqyhigmnmkm-ev...@mail.gmail.com
Re: Kernel Config file for Debian Squeeze Install Disc
> It is in the boot directory of the linux-image package, which is on the > first disk or in the packages section at www.debian.org. So, from what you just said, it means that both the kernels, one that runs from the install disc and the one that gets installed on the hard drive are exactly the same, am I correct in my understanding? If yes, then the problem (about install kernel failing to detect my IDE controller) is somewhere else. Thanks. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CALXXvm76abPX=bhws_ug1fxxzuihssn9lksgcmcqrzqu8_b...@mail.gmail.com
Re: Kernel Config file for Debian Squeeze Install Disc
Sven, > AFAIK the kernel in the installer is > split into many small packages from the regular linux-image package. So > the possible differences are version skews when a newer kernel hits the > archive, and missing modules that are not packaged for the installer. You are right. I discovered that the pata-modules-* package that ships with Debian Install disc, did not have the driver module for my RDC PATA controller and hence it failed to detect it. The thing that I find surprising is that the kernel itself (2.6.32-5-486) has the support for the controller: CONFIG_PATA_RDC=m So why does it have to depend on packages like pata-modules to detect the IDE interface. Can't the kernel detect the type (deviceid) of IDE interface and load the appropriate module (from it's initrd?) I guess may be I do not fully understand the installation mechanism. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/calxxvm555wpfa73wemrccnwo2ynt3hjohchdens84qzvurj...@mail.gmail.com
How to tell X to use a specific video driver
In Debian Lenny, X server use to correctly load the video driver (mach64_drv.so) for my VGA card: debian:~# lspci -v | grep VGA 00:01.0 VGA compatible controller: ATI Technologies Inc Rage Mobility P/M (rev 64) (prog-if 00 [VGA controller]) After upgrading to Squeeze, X server defaults to vesa driver (vesa_drv.so) isntead, in spite of knowing that ati driver is the correct driver for this card: debian:~# cat /var/log/Xorg.0.log | grep driver X.Org XInput driver : 7.0 (==) Matched ati as autoconfigured driver 0 (==) Matched vesa as autoconfigured driver 1 (==) Matched fbdev as autoconfigured driver 2 (==) Assigned the driver to the xf86ConfigLayout (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so (II) VESA: driver for VESA chipsets: vesa debian:~# So how do I tell X to load the ati driver? Explicitly specify it in xorg.conf file? Currently, I there is no such file in /etc/X11 directory. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/calxxvm5gu_7lbxapvkmq-okmhwfuxmh41r-itozyjh6kcvs...@mail.gmail.com
Re: How to tell X to use a specific video driver
>There isn't one 'cos X nowadays automagically detect everything - when > it does. Yes, I am aware of that, except that, in this case X does not detect the correct driver automagically...:) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/calxxvm4aixseu8bo9kycrmccbokmhpq+gxskdks39xutgvw...@mail.gmail.com
Iceweasel crashes with Illegal Instruction error message
Hello, This happen on a fresh installed Debian 6.0.2 with 2.6.32-5-486 kernel. Running Icewesel web browser: # iceweasel crashes as soon as the brower loads with the error message "Illegal Instruction" Running Iceweasel with the following two commands works fine and I no longer see the crash: $ iceweasel -safe-mode $ MOZILLA_DISABLE_PLUGINS=1 iceweasel Based on the file /usr/share/bug/iceweasel/presubj it says to look into extensions installed if Iceweasel does not crashes with the above two commands. The problem is that I have not installed any Iceweasel plugins, extension and add-ons. I wanted to run the gdb trace as explained in the bug file so that I can file a bug report, but not sure if I should investigate more before I file a bug report. What should I do? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CALXXvm6=H6qWwKfmTxzr3bh4e=qaiavvo0c2uvdpmqqo7hw...@mail.gmail.com
Re: Iceweasel crashes with Illegal Instruction error message
> Are you sure you don't have flash player or java or any other plugin/ > extension installed? They can be located in many places. Run: > > locate libflashplayer.so Running the above commands returns nothing. I am sure I have not installed any plugin, extension, add-on, etc. after installing iceweasel. In fact, after doing a netinstall selecting "Standard Utilities" from the tasksel menu, I did the following: # apt-get ssh install gnome-core iceweasel gdm xserver-xorg and I can reproduce the issue. > Before filling a bug report and given that Iceweasel can be run in safe > mode I would keep searching what file is making noise. Any more ideas anyone? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CALXXvm4gtYUdqr2Lj=QUc7deKtpPR=rqfrf-zcdgeukchn2...@mail.gmail.com
How to set the status of packages from "purge" to "install"
Hi, After upgrading, installing and removing some packages from Lenny to Squeeze, I ended up with the following situation: debian6.0# dpkg --get-selections > packages.txt debian6.0# cat packages | grep purge cpp-4.4 purge dmsetup purge gcc-4.4-basepurge insserv purge libbsd0 purge libc-binpurge libcap2 purge libdb4.8purge libgssapi-krb5-2purge libiw30 purge libk5crypto3purge libkrb5support0 purge liblzma2purge libmpfr4purge libopts25 purge libreadline6purge libudev0purge sensible-utils purge xz-utilspurge My question is very simple: How can I set the status of the above packages from "purge" to "install" since I know these packages are installed on my system and I do intend to keep them installed. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/calxxvm5y2sadvqdochyi8mazmohnqcjez0bsfsx6ymz3kvi...@mail.gmail.com
Re: How to set the status of packages from "purge" to "install"
> (Save yourself a few keystrokes: just type 'grep purge packages.txt'.) Definitely! Thanks for pointng that out. >sed -i 's/purge$/install/' packages.txt >dpkg --set-selections < packages.txt OK, so it is just done manually. I was wondering if there are any special tools (like dpkg, dselect, etc) which one can use to set those statuses. Thanks! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/calxxvm7d2yfdosqoxezntvuoujmsnb9on0ytps6qd6png9m...@mail.gmail.com
Graphics Driver for XGI Volari Z9M card?
Hi, I am trying to get my Graphics Card (XGI Volari Z9M) on Debian Squeeze, but I can't seem to find the correct driver for it. I tried the xserver-xorg-video-sis [1] driver by specifying the driver explicitly in the xorg.conf file: Section "Device" Identifier "Configured Video Device" Driver "sis" EndSection but running X gives me: # X X.Org X Server 1.7.7 Release Date: 2010-05-04 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.32.29-dsa-ia32 i686 Debian Current Operating System: Linux debian 2.6.39-2-486 #1 Tue Jul 5 02:52:23 UTC 2011 i586 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.39-2-486 root=UUID=abfa8b1a-1c32-47dd-9bbb-d30941649ec1 ro quiet Build Date: 19 February 2011 02:37:36PM xorg-server 2:1.7.7-13 (Cyril Brulebois ) Current version of pixman: 0.16.4 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Tue Aug 2 09:21:10 2011 (==) Using config file: "/etc/X11/xorg.conf" (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) No devices detected. Fatal server error: no screens found Please consult the The X.Org Foundation support at http://wiki.x.org for help. Please also check the log file at "/var/log/Xorg.0.log" for additional information. I also tried "X -configure" method but that did not help either. Does anyone on this list has prior experience working with XGI Volari card on Debian? Thanks [1] http://packages.debian.org/squeeze/xserver-xorg-video-sis -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CALXXvm77SgVUFex0kMrnxdjZXeNVvJhMvhRO=wulz7h0zyh...@mail.gmail.com
Unknown key released messages in dmesg
On my Debian Squeeze System, I get the following messages after the system has been running for some time: [ 16.218059] sshd (1565): /proc/1565/oom_adj is deprecated, please use /proc/1565/oom_score_adj instead. [ 3584.185304] atkbd serio0: Unknown key released (translated set 2, code 0x6e on isa0060/serio0). [ 3584.185469] atkbd serio0: Use 'setkeycodes 6e ' to make it known. [ 3584.185746] atkbd serio0: Unknown key released (translated set 2, code 0x6e on isa0060/serio0). [ 3584.185881] atkbd serio0: Use 'setkeycodes 6e ' to make it known. [ 3584.186097] atkbd serio0: Unknown key released (translated set 2, code 0x6e on isa0060/serio0). [ 3584.186232] atkbd serio0: Use 'setkeycodes 6e ' to make it known. My keyboard and mouse is working normally. Any ideas what is happening? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CALXXvm7xUHf2EBgibCiYnuOb=tjnvhr58xzfdeg95tswk6+...@mail.gmail.com
Debian Xorg server release version confusion
Hello, As per the Xorg website [1], the latest stable release is 7.6 which happened on 20 December 2010 and the next stable release will be 7.7 [2] somewhere in 2011 (which is not out yet). So my question is how come Debian Squeeze (stable) has Xorg server (xserver-xorg-core) 7.7 [3] already if the 7.7 is still under development. However, if you see xserver-xorg [4], it says 7.5. Can somebody care to explain what is happening here? [1] http://www.x.org/wiki/Releases/7.6 [2] http://www.x.org/wiki/Releases/7.7 [3] http://packages.debian.org/squeeze/xserver-xorg-core [4] http://packages.debian.org/squeeze/xserver-xorg -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CALXXvm7=2hjqjlz+bgvbfr1cqsrrbz5umsxfwy8cgm+an8b...@mail.gmail.com
Re: Debian Xorg server release version confusion
I think I found out the reason...Every X release i.e. X11RX.X has a X server version associated with it. For example, X11R7.5 has X Server version 1.7 and the latest X11R7.6 has X Server version 1.9 [1] which clears the confusion. [1] ttp://en.wikipedia.org/wiki/X_Window_System#Release_history -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CALXXvm6b+3BCYkxNtNG-ur5+nkimkbcGqdgrLR=hjrbc50d...@mail.gmail.com
Re: Graphics Driver for XGI Volari Z9M card?
> Maybe related to this: > > xserver-xorg-video-sis: Black screen on PDX-089T with XGI Volari Z7 > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=610710 Not sure, since I have a Z9m card and I cannot find anywhere in the package information whether it supports this card or not. > In the meantime, have you tried with a plain "vesa" driver? :-? vesa driver works but it is very slow. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/calxxvm7ao-juam6me+xqbvres+laa4vfpez4jfdfargv7ql...@mail.gmail.com
Re: Graphics Driver for XGI Volari Z9M card?
> SiS provides an updated driver at their site: > > *** > http://w3.sis.com/download > > Xorg (1.4~1.7) > File Name 2.81.08.zip > Version v R2.81.08 > Release Date 2010-10-25 > Support Products Z9s , Z9M , Z11 , Z11M , > File Size 19,925KB > Support OS Linux , Yes, I tried those binary drivers and none of them. They all give segmentation fault upon starting X. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CALXXvm7SQC4HziG4rgeVbDpDFhGBbxuSaFrPyA7i=sganqv...@mail.gmail.com
/etc/inittab not executed upon starting X with startx command
I have uncommented the following line in the /etc/inittab file on Debian Squeeze: T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100 Basically, I am trying to output a login console on Serial Port 1 also. This works if my system starts up normally i.e. via xdm->fluxbox. However, I want to do a auto login into my fluxbox (instead of user typing in username and password in xdm) and I still want the basic login console on Serial Port 1. So I removed xdm package (apt-get purge xdm) and added the following line to my /etc/rc.local: su - user -c startx Now my system does the autologin into fluxbox but I no longer get my login console on Serial Port 1. It seems that the /etc/inittab file is not honored with this method (auto login). Any ideas how can I get my login console on Serial Port 1 and at the same time auto log into fluxbox? Thanks. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/calxxvm5rdvkwlr1jb4kppvgl_rmbcigd92xxq1fdz3qkfr3...@mail.gmail.com
Re: /etc/inittab not executed upon starting X with startx command
> suspicious that I am compelled to ask if you are really sure that is > the correlation? Please double check. Yes, I double checked that. As soon as I revert back to installing xdm, the login console appears on Serial Port 1. > Are there any messaged logged to /var/log/syslog concerning failure of > getty to start on /dev/ttyS0? No there are none. > If you run 'ps' do you see the getting running? > > $ ps -ef |grep getty The above command returns nothing i.e it looks like getty is not started at all. > Both of these, the getting on the serial port and the gdm automated > login, work fine together for me. Since this is using gdm > configuration to automatically log in a user it is different from your > using su and startx from the rc.local though. May be that's the reason. But just like you even I am very surprised to see that /etc/inittab is not executed/sourced when using su and startx method via rc.local. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/calxxvm7lxrbh-0anjq1r9gbxnhzrbmoehl7vj4oikrxcm0-...@mail.gmail.com
Re: /etc/inittab not executed upon starting X with startx command
Ivan, > I guess that the inittab(5) entry in question is only started > after rc.local finishes. Therefore, starting startx(1) in the > background may help. That was it. Adding "&" at the end of the command in rc.local did the trick! Thanks! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CALXXvm7tFvV4K04Gpv4DVdKpu=haoj7fgwfsp8y8vg15+dk...@mail.gmail.com
Re: Fan not working properly on Dell Inspiron N5010
> FATAL: Error inserting coretemp > (/lib/modules/2.6.32-5-amd64/kernel/drivers/hwmon/coretemp.ko): No such > device Try installing a more recent kernel like 2.6.39 from Squeeze backports [1]. 1: http://packages.debian.org/squeeze-backports/linux-image-2.6-686 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/calxxvm4ks8wyo1g6el-gtaohzkpay-gn3nhrclw6co3bqe7...@mail.gmail.com
Re: Fan not working properly on Dell Inspiron N5010
Sorry, I just realized that you are on a 64-bit machine. Try this: http://packages.debian.org/squeeze-backports/linux-image-2.6-amd64 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CALXXvm7JwbVTa+QvPwyg6z=bhczj27mt4nh9tuemo03qplg...@mail.gmail.com
xset command setting not sticking
Hi, I am using Debian Lenny on x86 machine. I need to make the following command permanent upon every boot: xset s off -dpms I am booting into GNOME with GDM. I have tried adding this to my /home/user/.xinitrc file: #!/bin/bash xset s off -dpms and made it executable: chmod +x .xinitrc but it is not able to retain the setting. Thanks.
Re: xset command setting not sticking
>Is xset the only X client when it is run? Xorg resets its state when >the last client connects... The only other "active' program running is the totem player playing a .avi file. No network/ethernet cable is attached to the system. Also I forgot to mention that I am auto-logging into GNOME but that probably should not matter.
Re: xset command setting not sticking
>How is totem playing when .xinitrc is run? Not quite sure what you mean. This is the sequence. BIOS->Grub->System Boots->Systme Auto logs into GNOME->Totem Runs automatically (through sessions->startup script) .xinitrc file resides in my home directory /home/user/.xinitrc.
Re: xset command setting not sticking
>I'd put a zenity line in there ( zenity --info --text "Run from .xinitrc" ) >that will wait for you to press 'ok' I tried it. I do get the dialog box but after clicking "OK" I get the dialog saying: "Your last session only lasted for less than 10 seconds. If you have not logged out yourself, this could mean that there is some installation problem or that you may be out of diskspace. Try logging in with one of the failsafe sessions to see if you can fix this problem." and then it logs me out to the GDM login screen again. Upon viewing .xsesson-errors file I see just one line: "/etc/gdm/Xsession: Beginning session setup..." Please not that I entered the zenity command in .xinitrc file and then I did: ln -s .xinitrc .xsession in order to make GDM read the file. It seems that GDM honors .xsession file and not .xinitrc [1]. Also at this point no matter what command I give in .xsession (basically .xinitrc) I do get the "Your last session..." message and the system logs out. It seems that GDM is trying out to log out of GNOME as soon as processes the .xsession file. Not sure what's wrong here... [1] https://wiki.ubuntu.com/CustomXSession#Sample%20~/.xinitrc%20File
Re: xset command setting not sticking
OK after doing some more research I found the answer. 1. nano .xsession 2. Add contents: #~/bin/bash xset s off -dpms & exec gnome-session 3. chmod +x .xsession 4. Make sure the session "Xclient" is selected in GDM. That's it!
Upgrade SVN in Debian Lenny
I am using Debian Lenny (amd64). I need to upgrade the current version of Subversion (1.5.1) on my Lenny system to something more recent, say 1.6. I noticed that Debian backport does not have the 1.6 version but Debian testing (squeeze) has 1.6 which is what I am looking for. What is the best way to upgrade just the subversion package in this case? My sources.list file has just the following: deb http://ftp.us.debian.org/debian/ lenny main contrib non-free deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free Please advice.
Giving svnadmin permissions to a regular user
I am running Debian Lenny with subversion installed. I have a normal user called "svnmaster" to whom I would like to give permission to run all the svnadmin commands. How can I do that. My repositories usually live in /var/lib/svn/. I do not want to share the root password with this user (john). Thanks.
Installing latest version of mediawiki & removing Lenny's mediawiki package
I am using Debian Lenny on my AMD Anthlon X2 box. Currently I am using mediawiki version 1.12 that shipps with Lenny. However, I would like to upgrade to latest version of mediawiki 1.16 [1]. I know Debian backports has 1.15 but I want 1.16 (or whatever is the latest version). What is the best method to make this transition (from Debian mediawiki package 1.12 to the vanilla mediawiki 1.16) in Debian Lenny? Should I first uninstall the mediawiki package from the Debian Lenny and then follow the normal instructions from [1] to install the latest mediawiki assuming I am backing up my extensions, LocalSettings.php, image directory and any other mediawiki code file that I may have modified? Thanks! [1] http://www.mediawiki.org/wiki/Download
Re: Debian Install Hangs
Try the following kernel parameters -- first all of them together and thereafter in combination: acpi=off nolapci noapic