[arch-general] Abiword and wv
Greetings, Abiword was upgraded from 2.8.6.1 to 2.8.6.2. [2010-08-20 01:25] upgraded abiword (2.8.6-1 - 2.8.6-2) [2010-08-20 01:25] upgraded abiword-plugins (2.8.6-1 - 2.8.6-2) When I attempted to start Abiword with gmrun and it failed. Next I tried in a terminal and received the following error message. [m...@gandalf abiword unable to find libwv-1.2.so.3 My troubleshooting went like this: [m...@gandalf /usr/lib]:locate libwv /usr/lib/libwv-1.2.so.4 /usr/lib/libwv-1.2.so.4.0.3 /usr/lib/libwv.a /usr/lib/libwv.so [m...@gandalf pacman -Q wv Name : wv Version: 1.2.7-1 http://www.archlinux.org/packages/extra/x86_64/wv/ Package Details: wv 1.2.7-1 Architecture: x86_64 Repository: Extra Description:MSWord library can load and parse Word 2000, 97, 95 and 6 file formats Upstream URL: http://sourceforge.net/projects/wvware License:GPL Groups: None Maintainers:Jan de Groot Package Size: 261.3 KB Installed Size: 3.2 MB Last Packager: Jan de Groot Build Date: 2010-06-08 10:02:57 UTC Last Updated: 2010-06-08 Package Contents * usr/lib/libwv-1.2.so.3 * usr/lib/libwv-1.2.so.3.0.4 * usr/lib/libwv.a * usr/lib/libwv.so fix-soname.patch with PKGBUILD diff -ru wv-1.2.7.orig//configure wv-1.2.7//configure --- wv-1.2.7.orig//configure2009-09-21 12:22:46.0 +0200 +++ wv-1.2.7//configure 2010-06-08 12:00:27.948857203 +0200 @@ -2082,8 +2082,8 @@ WV_MAJOR_VERSION=1 WV_MINOR_VERSION=2 WV_MICRO_VERSION=7 -WV_INTERFACE_AGE=3 -WV_BINARY_AGE=3 +WV_INTERFACE_AGE=4 +WV_BINARY_AGE=4 WV_VERSION=$WV_MAJOR_VERSION.$WV_MINOR_VERSION.$WV_MICRO_VERSION I rebuilt Abiword and everything works fine. Now for the question. Why was Abiword still trying to find the previous version of libwv and why does the package listing on the archlinux packages still show libwv-1.2.so.3? I only ask because that's the version the latest Abiword package from the repositories was looking for. Granted I built Abiword 2.8.2-1 from ABS because I was having problems getting it to work properly installing the package with pacman, and wv was installed on [2010-02-14 02:46] installed wv (1.2.7-1) which is prior to the age bump for the .so file and hasn't updated since (I've checked the pacman.log thoroughly). I'm assuming I built wv from abs at the time but can't find the package I built to check it. Makes one wonder how I wound up with libwv-1.2.so.4. AFAICT that doesn't explain the latest build of Abiword from the package repository trying to find libwv.so.3 since the PKGBUILD doesn't use version deps, or am I missing something. Ciao for now Myra -- Life's fun when your sick and psychotic!
Re: [arch-general] Abiword and wv
On Tue, 2010-08-24 at 02:39 -0500, Myra Nelson wrote: [m...@gandalf abiword unable to find libwv-1.2.so.3 My troubleshooting went like this: [m...@gandalf /usr/lib]:locate libwv /usr/lib/libwv-1.2.so.4 /usr/lib/libwv-1.2.so.4.0.3 /usr/lib/libwv.a /usr/lib/libwv.so This is because you built your own version of wv. Upstream did a useless soname bump without reason, which is why I reverted that (several other distributions do that also). This change saves me a bunch of rebuilds, but will cause you pain if you didn't stick to official packages.
Re: [arch-general] xorg (group) and xorg-fonts-100dpi and xorg-fonts-75dpi
2010-08-22 18:44 +0200, Andre Osku Schmidt wrote: On Sun, Aug 22, 2010 at 6:27 PM, F. Gr. f...@anche.no wrote: 2010-08-22 12:03 +0200, Andre Osku Schmidt wrote: [...] what packages even need xorg-fonts-100dpi and xorg-fonts-75dpi ? as written at http://wiki.archlinux.org/index.php/Xorg#Program_requests_.22font_.27.28null.29.27.22, it seems some program needs one of the two packages. One of this software is Emacs (even if I haven't got any xorg-fonts-*dpi package and it works fine :-) ok, so even if no one knows a tool that really needs it, we pull them to be safe for very very rare cases. roger :P I've found the information about Emacs at http://wiki.archlinux.org/index.php/Font_Configuration#Missing_characters. The following warning is what I get (from /var/log/Xorg.0.log): [12.980] (WW) `fonts.dir' not found (or not valid) in /usr/share/fonts/75dpi/. [12.980]Entry deleted from font path. [12.980](Run 'mkfontdir' on /usr/share/fonts/75dpi/).
Re: [arch-general] rc.conf man page
On Mon, Aug 23, 2010 at 1:59 PM, Dave Reisner d...@falconindy.com wrote: I threw together a man page for rc.conf based on info gleaned from the Wiki, rc.conf itself, and my own experiences. I offer it up for for adoption into the initscripts package along with comments, critcisms, and rotten tomatoes. The format is asciidoc, which is the same format used by pacman. If desirable, I'm willing to compile other pages for system config files in a similar manner. I like the idea of having manpages for this stuff. netcfg(8) already has a manpage, pacman has manpages, etc. and this is in the psuedo-standard asciidoc we've used for a lot of it. Do any of the developers object to adding some documentation to this Arch-specific stuff and having it be built and installed with the relevant packages? It is also a great way for people to get involved that don't feel as confident coding. -Dan
Re: [arch-general] Add keditbookmarks to kdebase
On Sunday 22 August 2010 15:01:37 joker-...@yandex.ru wrote: Hello! Sorry for my english, i'm russian :) Look at that: http://websvn.kde.org/tags/KDE/4.4.5/kdebase/apps/ But there is no keditbookmarks app in kdebase: pkgbase=kdebase pkgname=('kdebase-dolphin' 'kdebase-kappfinder' 'kdebase-kdepasswd' 'kdebase-kdialog' 'kdebase-kfind' 'kdebase-kinfocenter' 'kdebase-konqueror' 'kdebase-konsole' 'kdebase-kwrite' 'kdebase-lib' 'kdebase-plasma') Keditbookmarks now is a part of konqueror (see the file list for kdebase-konqueror = usr/bin/konqueror). But keditbookmarks is required by some apps (krdc, krusader and others) to edit bookmarks. So, without konqueror you can't edit bookmarks in the krusader (nothing appears after clicking manage bookmarks). I think that need to split konqueror on two packages: konqueror and keditbookmarks, because install konqueror just for working bookmark editor in krusader isn't good. Please file a feature request on flyspray, so we will not forget this. -- andreascarpino.it Arch Linux Developer
Re: [arch-general] rc.conf man page
On Mon, Aug 23, 2010 at 05:37:29PM -0400, David Campbell wrote: Excerpts from Dave Reisner's message of 2010-08-23 14:59:11 -0400: *ROUTES (array)*:: A list of routes to be created. For each item in this list, the 'network' service expects to find a variable of the same name to exist providing a string of parameters to be passed to the 'route' command in order to create the route. Routes can prevented from being created by prefixing with a '!' symbol. For a variable to be found it must exist, so to exist is redundant. Fixed on my copy. The last sentence should read, Routes can be..., not Routes can prevented..., or better yet, Prevent a route from being created by prefixing it with a bang (!).. Also fixed, and I like your rewording. I like this manpage, although, I am not so sure it is wise to have a manpage for rc.conf. rc.conf is well commented, and if there is a manpage, the two will have to be kept in sync with each other. Having the code with the documentation also makes understanding the documentation easier. I suggest either adding to the comments in rc.conf if they are not sufficient, or leaving out of the manpage information that can already be found in rc.conf. My concern is that /etc/rc.conf is mutable, while a man page is not. AIF uses this commenting as guidance, but it (as well as rc.conf itself) could just as easily say refer to the man page. d
Re: [arch-general] Abiword and wv
On Tue, Aug 24, 2010 at 03:25, Jan de Groot j...@jgc.homeip.net wrote: On Tue, 2010-08-24 at 02:39 -0500, Myra Nelson wrote: [m...@gandalf abiword unable to find libwv-1.2.so.3 My troubleshooting went like this: [m...@gandalf /usr/lib]:locate libwv /usr/lib/libwv-1.2.so.4 /usr/lib/libwv-1.2.so.4.0.3 /usr/lib/libwv.a /usr/lib/libwv.so This is because you built your own version of wv. Upstream did a useless soname bump without reason, which is why I reverted that (several other distributions do that also). This change saves me a bunch of rebuilds, but will cause you pain if you didn't stick to official packages. Jan: Cool. No pain associated. I thought that might be the case, but wanted to check. I learned a long time ago to try rebuilding the package on my box if something fails and see if it works as part of troubleshooting a package. Myra. -- Life's fun when your sick and psychotic!
[arch-general] RAID Fails Due To Metadata
I noticed today I tried to create a new system using 'Software / Fake RAID' on Arch with the 'mdadm' utility. I have not done this for a year or so but realized that when I tried now on my new system, it failed and then I tried it again and read between the lines... mdadm: Note: this array has metadata at the start and may not be suitable as a boot device. If you plan to store '/boot' on this device, please ensure that your boot-loader understands md/v1.x metadata, or use --metadata=0.90 So then I created my array as follows: mdadm --create /dev/md0 --metadata=0.90 --level=1 --raid-devices=2 /dev/sda2 /dev/sdb2 Is there a way to get Grub to read / access the default metadata that the 'mdadm' utility uses?
[arch-general] Configure / Set a Hostname
I have read on Google searches and on all over so many different ways to properly set a FQDN on Arch Linux and am more confused than I was before I started looking this up. I don't ever get prompted during the Arch installer to enter a 'hostname' but rather do so in /etc/rc.conf which appears to make no difference because it's superseded by /etc/hosts. Can someone tell me if I want my Arch machine called bishop.mydomain.tld, how does one properly and officially achieve this task in Arch? Thanks!
Re: [arch-general] Configure / Set a Hostname
On 24 August 2010 19:52, Carlos Mennens carlosw...@gmail.com wrote: I have read on Google searches and on all over so many different ways to properly set a FQDN on Arch Linux and am more confused than I was before I started looking this up. I don't ever get prompted during the Arch installer to enter a 'hostname' but rather do so in /etc/rc.conf which appears to make no difference because it's superseded by /etc/hosts. Can someone tell me if I want my Arch machine called bishop.mydomain.tld, how does one properly and officially achieve this task in Arch? Thanks! You'll get many different answers, but this is how I do it. You'll get different results for hostname and hostname -f this way. Take into consideration that on a machine that uses DHCP you'll not be able to do this reliably due to the changing IP unless you can assign it on the router/gateway. 127.0.0.1 localhost.localdomain localhost 192.168.1.64myname.mydomain.com myname -- Jason Steadman http://www.meyithi.com/ http://twitter.com/meyithi
[arch-general] restore hdd image to a bigger disk
Hi all, I use dd command to make an image of entire /dev/sda (160GB) and back up it as netobook.hdd to an external storage. The disk contains both encrypted(dmcrypt/luks) and normal linux/win partitions. My question is, if my netbook died and I needed to recover from backup, can I just dd-copy the image to a new larger disk? Does it matter? 1/ it will do, but the size will remain 160gb ..is ok. 2/ will do possibility to resize partitions later ..even better! :) I've searched the net, but I'd like someone to confirm it 100% works (just dd and reboot). Thanks in advance, Marek -- Marek Otahal :o)
Re: [arch-general] restore hdd image to a bigger disk
On Tue, Aug 24, 2010 at 4:14 PM, Marek Otahal markota...@gmail.com wrote: Hi all, I use dd command to make an image of entire /dev/sda (160GB) and back up it as netobook.hdd to an external storage. The disk contains both encrypted(dmcrypt/luks) and normal linux/win partitions. My question is, if my netbook died and I needed to recover from backup, can I just dd-copy the image to a new larger disk? Does it matter? 1/ it will do, but the size will remain 160gb ..is ok. 2/ will do possibility to resize partitions later ..even better! :) I've searched the net, but I'd like someone to confirm it 100% works (just dd and reboot). Thanks in advance, Marek -- Marek Otahal :o) The destination drive must have a greater or equal capacity, otherwise you will probably lose data / get a corrupt filesystem. After the dd finishes you can use any program that messes with partitions to resize it, in case the disk is bigger. I can confirm that this simply works, no trick needed. I've done it dozens of times. -- Flávio Coutinho da Costa
Re: [arch-general] restore hdd image to a bigger disk
On Tuesday 24 of August 2010 21:35:20 Flavio Costa wrote: On Tue, Aug 24, 2010 at 4:14 PM, Marek Otahal markota...@gmail.com wrote: Hi all, I use dd command to make an image of entire /dev/sda (160GB) and back up it as netobook.hdd to an external storage. The disk contains both encrypted(dmcrypt/luks) and normal linux/win partitions. My question is, if my netbook died and I needed to recover from backup, can I just dd-copy the image to a new larger disk? Does it matter? 1/ it will do, but the size will remain 160gb ..is ok. 2/ will do possibility to resize partitions later ..even better! :) I've searched the net, but I'd like someone to confirm it 100% works (just dd and reboot). Thanks in advance, Marek -- Marek Otahal :o) The destination drive must have a greater or equal capacity, otherwise you will probably lose data / get a corrupt filesystem. After the dd finishes you can use any program that messes with partitions to resize it, in case the disk is bigger. I can confirm that this simply works, no trick needed. I've done it dozens of times. Thank you Flávio, that's what I wanted to be reassured about. -- Marek Otahal :o)
Re: [arch-general] restore hdd image to a bigger disk
On 08/24/2010 08:14 PM, Marek Otahal wrote: Hi all, I use dd command to make an image of entire /dev/sda (160GB) and back up it as netobook.hdd to an external storage. The disk contains both encrypted(dmcrypt/luks) and normal linux/win partitions. My question is, if my netbook died and I needed to recover from backup, can I just dd-copy the image to a new larger disk? Does it matter? 1/ it will do, but the size will remain 160gb ..is ok. 2/ will do possibility to resize partitions later ..even better! :) I've searched the net, but I'd like someone to confirm it 100% works (just dd and reboot). Thanks in advance, Marek Most probably you don't even need to copy the image back to a disk to get the files you need. I don't know about the encrypted(dmcrypt/luks) partitions but the normal linux/win partitions can be accessed directly from the image. -- Mauro Santos
Re: [arch-general] restore hdd image to a bigger disk
On Tuesday 24 of August 2010 23:03:23 Mauro Santos wrote: On 08/24/2010 08:14 PM, Marek Otahal wrote: Hi all, I use dd command to make an image of entire /dev/sda (160GB) and back up it as netobook.hdd to an external storage. The disk contains both encrypted(dmcrypt/luks) and normal linux/win partitions. My question is, if my netbook died and I needed to recover from backup, can I just dd-copy the image to a new larger disk? Does it matter? 1/ it will do, but the size will remain 160gb ..is ok. 2/ will do possibility to resize partitions later ..even better! :) I've searched the net, but I'd like someone to confirm it 100% works (just dd and reboot). Thanks in advance, Marek Most probably you don't even need to copy the image back to a disk to get the files you need. I don't know about the encrypted(dmcrypt/luks) partitions but the normal linux/win partitions can be accessed directly from the image. Is that so? I like the restore to a functional computer ability, so copying seems useful. But I was wondering how to mount a specific partition from an image? (i make the image of whole /dev/sda, so sda1,2,..are hidden inside) greetings, Marek -- Marek Otahal :o)
Re: [arch-general] restore hdd image to a bigger disk
On 08/24/2010 10:20 PM, Marek Otahal wrote: On Tuesday 24 of August 2010 23:03:23 Mauro Santos wrote: On 08/24/2010 08:14 PM, Marek Otahal wrote: Hi all, I use dd command to make an image of entire /dev/sda (160GB) and back up it as netobook.hdd to an external storage. The disk contains both encrypted(dmcrypt/luks) and normal linux/win partitions. My question is, if my netbook died and I needed to recover from backup, can I just dd-copy the image to a new larger disk? Does it matter? 1/ it will do, but the size will remain 160gb ..is ok. 2/ will do possibility to resize partitions later ..even better! :) I've searched the net, but I'd like someone to confirm it 100% works (just dd and reboot). Thanks in advance, Marek Most probably you don't even need to copy the image back to a disk to get the files you need. I don't know about the encrypted(dmcrypt/luks) partitions but the normal linux/win partitions can be accessed directly from the image. Is that so? I like the restore to a functional computer ability, so copying seems useful. But I was wondering how to mount a specific partition from an image? (i make the image of whole /dev/sda, so sda1,2,..are hidden inside) greetings, Marek Usually I do it like this: - mount (?) the image to a loop device losetup /dev/loop0 /path/to/image/file - get the start of partitions parted /dev/loop0 unit B print take notice of the starting bytes for the partition you want to mount mount /dev/loop0 mnt_point -o offset=start_bytes and thats it, you should be able to access at least the normal partitions (read and write). I have never tried with encrypted partitions, I guess you would have to pass some extra options to mount. To unmount everything cleanly do: umount mnt_point losetup -d /dev/loop0 -- Mauro Santos
Re: [arch-general] Configure / Set a Hostname
On 08/24/2010 03:02 PM, Meyithi wrote: On 24 August 2010 19:52, Carlos Mennenscarlosw...@gmail.com wrote: I have read on Google searches and on all over so many different ways to properly set a FQDN on Arch Linux and am more confused than I was before I started looking this up. I don't ever get prompted during the Arch installer to enter a 'hostname' but rather do so in /etc/rc.conf which appears to make no difference because it's superseded by /etc/hosts. Can someone tell me if I want my Arch machine called bishop.mydomain.tld, how does one properly and officially achieve this task in Arch? Thanks! You'll get many different answers, but this is how I do it. You'll get different results for hostname and hostname -f this way. Take into consideration that on a machine that uses DHCP you'll not be able to do this reliably due to the changing IP unless you can assign it on the router/gateway. 127.0.0.1 localhost.localdomain localhost 192.168.1.64myname.mydomain.com myname 127.0.0.1 localhost.localdomain localhost 127.0.0.2myname.mydomain.com myname Is what I do
Re: [arch-general] restore hdd image to a bigger disk
On 24 August 2010 16:02, Mauro Santos registo.maill...@gmail.com wrote: On 08/24/2010 10:20 PM, Marek Otahal wrote: On Tuesday 24 of August 2010 23:03:23 Mauro Santos wrote: On 08/24/2010 08:14 PM, Marek Otahal wrote: Hi all, I use dd command to make an image of entire /dev/sda (160GB) and back up it as netobook.hdd to an external storage. The disk contains both encrypted(dmcrypt/luks) and normal linux/win partitions. My question is, if my netbook died and I needed to recover from backup, can I just dd-copy the image to a new larger disk? Does it matter? 1/ it will do, but the size will remain 160gb ..is ok. 2/ will do possibility to resize partitions later ..even better! :) I've searched the net, but I'd like someone to confirm it 100% works (just dd and reboot). Thanks in advance, Marek Most probably you don't even need to copy the image back to a disk to get the files you need. I don't know about the encrypted(dmcrypt/luks) partitions but the normal linux/win partitions can be accessed directly from the image. Is that so? I like the restore to a functional computer ability, so copying seems useful. But I was wondering how to mount a specific partition from an image? (i make the image of whole /dev/sda, so sda1,2,..are hidden inside) greetings, Marek Usually I do it like this: - mount (?) the image to a loop device losetup /dev/loop0 /path/to/image/file - get the start of partitions parted /dev/loop0 unit B print take notice of the starting bytes for the partition you want to mount mount /dev/loop0 mnt_point -o offset=start_bytes and thats it, you should be able to access at least the normal partitions (read and write). I have never tried with encrypted partitions, I guess you would have to pass some extra options to mount. To unmount everything cleanly do: umount mnt_point losetup -d /dev/loop0 -- Mauro Santos But why? The loop module supports partitions now, just modprobe it with max_part=10 or something. The partitions will be /dev/loop0p[1234...]. -- Tavian Barnes
Re: [arch-general] restore hdd image to a bigger disk
On 08/24/2010 11:44 PM, Tavian Barnes wrote: On 24 August 2010 16:02, Mauro Santos registo.maill...@gmail.com wrote: On 08/24/2010 10:20 PM, Marek Otahal wrote: On Tuesday 24 of August 2010 23:03:23 Mauro Santos wrote: On 08/24/2010 08:14 PM, Marek Otahal wrote: Hi all, I use dd command to make an image of entire /dev/sda (160GB) and back up it as netobook.hdd to an external storage. The disk contains both encrypted(dmcrypt/luks) and normal linux/win partitions. My question is, if my netbook died and I needed to recover from backup, can I just dd-copy the image to a new larger disk? Does it matter? 1/ it will do, but the size will remain 160gb ..is ok. 2/ will do possibility to resize partitions later ..even better! :) I've searched the net, but I'd like someone to confirm it 100% works (just dd and reboot). Thanks in advance, Marek Most probably you don't even need to copy the image back to a disk to get the files you need. I don't know about the encrypted(dmcrypt/luks) partitions but the normal linux/win partitions can be accessed directly from the image. Is that so? I like the restore to a functional computer ability, so copying seems useful. But I was wondering how to mount a specific partition from an image? (i make the image of whole /dev/sda, so sda1,2,..are hidden inside) greetings, Marek Usually I do it like this: - mount (?) the image to a loop device losetup /dev/loop0 /path/to/image/file - get the start of partitions parted /dev/loop0 unit B print take notice of the starting bytes for the partition you want to mount mount /dev/loop0 mnt_point -o offset=start_bytes and thats it, you should be able to access at least the normal partitions (read and write). I have never tried with encrypted partitions, I guess you would have to pass some extra options to mount. To unmount everything cleanly do: umount mnt_point losetup -d /dev/loop0 -- Mauro Santos But why? The loop module supports partitions now, just modprobe it with max_part=10 or something. The partitions will be /dev/loop0p[1234...]. Nice tip. I've been using this method for quite a while so either it wasn't available when I started using it or I missed the fact that the module option is needed for this to work. -- Mauro Santos
Re: [arch-general] [arch-dev-public] kde 4.5.0
On Wednesday 18 of August 2010 11:37:55 Ronald van Haren wrote: On Wed, Aug 18, 2010 at 11:27 AM, Pierre Schmitz pie...@archlinux.de wrote: On Wed, 18 Aug 2010 11:19:29 +0200, Jan de Groot j...@jgc.homeip.net wrote: On Wed, 2010-08-18 at 11:06 +0200, Ronald van Haren wrote: so far I've seen people reporting the following chipsets to be affected, but there may be others intel 910 intel 945 intel 965 ati 3450 Given the fact that AMD and Intel rule the IGP market, I would say yes. We would still need an announcement as for those who upgrade from previous versions this global configuration wont be effective. We should add to the announcement that people could disable composite by editing ~/.kde4/share/config/kwinrc (if they are no longer able to login) -- Pierre Schmitz, https://users.archlinux.de/~pierre you will be able to login, afaik this bug only shows up when changing stuff in system settings. disabling and enabling compositing with the global shortcut should be enough to get it working again. Ronald hello, for me, it kills desktop instantly, not only while fiddling with settings. Manually disabling compositing in kwinrc helps, setting LIBGL_ALWAYS_INDIRECT=1 in ~/.bash_profile doesn't affect the bug. I'm using kde on i945. Thanks, marek -- Marek Otahal :o)
Re: [arch-general] [arch-dev-public] kde 4.5.0
KDE 4.5.0 can't be installed on a fresh Arch installation because kdebase-workspace conflicts with kdebase-kinfocenter. # pacman -S kde resolving dependencies... warning: provider package was selected (phonon-gstreamer provides phonon-backend) looking for inter-conflicts... error: unresolvable package conflicts detected error: failed to prepare transaction (conflicting dependencies) :: kdebase-workspace and kdebase-kinfocenter are in conflict See FS#20595 (http://bugs.archlinux.org/task/20595). Heiko