[Bug 52685] Re: x11-common installs dup files

2008-10-17 Thread Timo Aaltonen
This should be fixed in intrepid by xorg-1:7.4~2ubuntu1.

** Changed in: xinit (Ubuntu)
   Status: Confirmed = Fix Released

-- 
x11-common installs dup files
https://bugs.launchpad.net/bugs/52685
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 52685] Re: x11-common installs dup files

2008-01-04 Thread Timo Aaltonen
** Changed in: xinit (Ubuntu)
Sourcepackagename: xorg = xinit

-- 
x11-common installs dup files
https://bugs.launchpad.net/bugs/52685
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 52685] Re: x11-common installs dup files

2007-12-21 Thread Mark Wilkinson
An additional duplication: x11-common and xinit both install a copy of
/etc/X11/Xsession but they supply different versions of the file, so the
version that's actually used depends on the installation order.

$ grep '/etc/X11/Xsession ' /var/lib/dpkg/status
 /etc/X11/Xsession 1fd6001d0552b870f416dde954e0f060
 /etc/X11/Xsession bc9abf656f3a702294d490eb1554359b
$ 

The first one is the instance of the file from the xinit package, the
second one from x11-common. On my clean install of Feisty I finished up
with the version from the xinit package installed, but this version
seems to predate the one in x11-common. Here's a diff:

$ diff -u [x11-common]/Xsession /etc/X11/Xsession
--- /m/migrate/d600/etc/X11/Xsession2006-10-12 16:33:54.0 +0100
+++ /etc/X11/Xsession   2006-08-07 20:02:19.0 +0100
@@ -4,7 +4,7 @@
 #
 # global Xsession file -- used by display managers and xinit (startx)
 
-# $Id: Xsession 967 2005-12-27 07:20:55Z dnusinow $
+# $Id: Xsession 1507M 2004-09-13 07:36:26Z (local) $
 
 set -e
 
@@ -42,7 +42,7 @@
   # the user would have dismissed the error we want reported before seeing the
   # request to report it.
   errormsg $* \
-   Please report the installed version of the \x11-common\ \
+   Please report the installed version of the \xfree86-common\ \
package and the complete text of this error message to \
[EMAIL PROTECTED].
 }
@@ -56,7 +56,7 @@
 internal_errormsg run_parts() called, but \$1\ does not exist or is \
   not a directory.
   fi
-  for F in $(/bin/ls $1); do
+  for F in $(ls $1); do
 if expr $F : '[[:alnum:]_-]\+$'  /dev/null 21; then
   if [ -f $1/$F ]; then
 echo $1/$F
@@ -78,7 +78,7 @@
 ERRFILE=$HOME/.xsession-errors
 
 # attempt to create an error file; abort if we cannot
-if (umask 077  touch $ERRFILE) 2 /dev/null  [ -w $ERRFILE ] 
+if touch $ERRFILE 2 /dev/null  [ -w $ERRFILE ] 
   [ ! -L $ERRFILE ]; then
   chmod 600 $ERRFILE
 elif ERRFILE=$(tempfile 2 /dev/null); then
@@ -91,12 +91,6 @@
   errormsg unable to create X session log/error file; aborting.
 fi
 
-# truncate ERRFILE if it is too big to avoid disk usage DoS
-if [ `stat -c%s \$ERRFILE\` -gt 50 ]; then
-  T=`mktemp -p $HOME`
-  tail -c 50 $ERRFILE  $T  mv -f $T $ERRFILE || rm -f $T
-fi
-
 exec $ERRFILE 21
 
 echo $PROGNAME: X session started for $LOGNAME at $(date)
@@ -124,11 +118,9 @@
 # other
 SESSIONFILES=$(run_parts $SYSSESSIONDIR)
 if [ -n $SESSIONFILES ]; then
-  set +e
   for SESSIONFILE in $SESSIONFILES; do
 . $SESSIONFILE
   done
-  set -e
 fi
 
 exit 0
$

-- 
x11-common installs dup files
https://bugs.launchpad.net/bugs/52685
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 52685] Re: x11-common installs dup files

2007-12-21 Thread Timo Aaltonen
xinit does not supply /etc/X11/Xsession anymore.

-- 
x11-common installs dup files
https://bugs.launchpad.net/bugs/52685
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 52685] Re: x11-common installs dup files

2007-12-05 Thread Timo Aaltonen
I'll bite the bullet and try to fix this before hardy is released.

** Changed in: xorg (Ubuntu)
   Importance: Undecided = Medium
 Assignee: (unassigned) = Timo Aaltonen (tjaalton)

-- 
x11-common installs dup files
https://bugs.launchpad.net/bugs/52685
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 52685] Re: x11-common installs dup files

2007-04-21 Thread Tollef Fog Heen
** Changed in: xorg (Ubuntu)
 Assignee: Tollef Fog Heen = (unassigned)

-- 
x11-common installs dup files
https://bugs.launchpad.net/bugs/52685
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 52685] Re: x11-common installs dup files

2007-04-12 Thread Boris de Laage
mmm, I still see this with Feisty...

ii  x11-common 7.2-0ubuntu11
ii  xinit  1.0.2-0ubuntu3

-- 
x11-common installs dup files
https://bugs.launchpad.net/bugs/52685
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[EMAIL PROTECTED]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 52685] Re: x11-common installs dup files

2007-04-12 Thread Timo Aaltonen
boris: you have the dupes after a clean install?

-- 
x11-common installs dup files
https://bugs.launchpad.net/bugs/52685
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[EMAIL PROTECTED]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 52685] Re: x11-common installs dup files

2007-04-12 Thread Boris de Laage
Was not a clean install, was a dist-upgrade. Files still belong to
both x11-common  xinit packages :


-- 
Boris de Laage [EMAIL PROTECTED] - GnuPG key 0x177DD1ED

-- 
x11-common installs dup files
https://bugs.launchpad.net/bugs/52685
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[EMAIL PROTECTED]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 52685] Re: x11-common installs dup files

2007-04-12 Thread Jan Mynarik
I had a similar problem when a file belonged to a package (according to
dpkg -S) but it wasn't a part of current version. Try to manually remove
(sudo rm) all duplicate files (from both x11-common and xinit packages)
and then reinstall both packages (sudo apt-get install --reinstall
x11-common xinit). This should probably remove duplicate files for you
and install the right ones.

-- 
x11-common installs dup files
https://bugs.launchpad.net/bugs/52685
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[EMAIL PROTECTED]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 52685] Re: x11-common installs dup files

2007-04-12 Thread Boris de Laage
Yes, it worked. Thanx.

-- 
Boris de Laage [EMAIL PROTECTED] - GnuPG key 0x177DD1ED

-- 
x11-common installs dup files
https://bugs.launchpad.net/bugs/52685
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[EMAIL PROTECTED]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 52685] Re: x11-common installs dup files

2007-04-12 Thread bfallik
Using the method described above (rm; a-g install --reinstall...), I
now have none of the config files installed into /etc/x11/Xsession.d.

$ ls /etc/X11/Xsession.d
55gnome-session_gnomeric 75dbus_dbus-launch 90tpb

However, dpkg -L suggests that x11-common has installed them.  No
amount of dpkg -i, apt-get, or aptitude seems to create these file.
Any ideas?  X now boots me into failsafe terminal mode.

If I manually extract the deb and copy these files in, X gets very sad.

-- 
x11-common installs dup files
https://bugs.launchpad.net/bugs/52685
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[EMAIL PROTECTED]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 52685] Re: x11-common installs dup files

2007-04-12 Thread Timo Aaltonen
the package scripts should deal with migrating conffiles, since they
aren't removed on upgrade.

** Changed in: xorg (Ubuntu)
   Status: Fix Released = Confirmed

-- 
x11-common installs dup files
https://bugs.launchpad.net/bugs/52685
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[EMAIL PROTECTED]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 52685] Re: x11-common installs dup files

2007-03-08 Thread Jan Mynarik
Not sure it was xinit package that has the fix but definitely there are
no duplicate files anymore.

-- 
x11-common installs dup files
https://launchpad.net/bugs/52685

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 52685] Re: x11-common installs dup files

2007-03-08 Thread Timo Aaltonen
ok, I'll mark this as fixed.. if someone still sees this with Feisty,
please reopen.

** Changed in: xorg (Ubuntu)
   Status: Confirmed = Fix Released

-- 
x11-common installs dup files
https://launchpad.net/bugs/52685

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 52685] Re: x11-common installs dup files

2007-03-07 Thread Timo Aaltonen
this should be fixed in Feisty:

xinit (1.0.2-0ubuntu2) edgy; urgency=low

  * Removed debian/xsession/Xsession.d from list of files directories
installed (funny part is - this directory was already present on our
previous package, but magically was not installed)
  * Removed debian/xsession/Xsession.5 from list of manpages installed

 -- Rodrigo Parra Novo [EMAIL PROTECTED]  Mon,  7 Aug 2006 10:32:32
-0300

-- 
x11-common installs dup files
https://launchpad.net/bugs/52685

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 52685] Re: x11-common installs dup files

2006-12-06 Thread Andreas Simon
I just want to note that this is also the case in current Feisty with
xinit 1.0.2-0ubuntu3 and x11-common 7.1.1ubuntu6.

-- 
x11-common installs dup files
https://launchpad.net/bugs/52685

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs