Re: ed 1.33 install errors

2009-06-02 Thread Florian Kulzer
On Mon, Jun 01, 2009 at 21:13:47 -0400, Rob Bochan wrote:
 On Monday 01 June 2009 08:53:19 pm Jude DaShiell wrote:
  Script started on Mon Jun  1 20:50:14 2009
  localhost:~# aptitude install ed
...
  update-alternatives: error: alternative path /bin/ed doesn't exist.
  dpkg: error processing ed (--configure):
subprocess installed post-installation script returned error exit status
  2 Errors were encountered while processing:
ed
  E: Sub-process /usr/bin/dpkg returned an error code (1)
 
 I got the same error here. I fixed it by creating a symlink from /usr/bin/ed 
 to /bin/ and that cleared it up. I'd imagine it's a bug in the package.

Yes it is:

http://bugs.debian.org/531461

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: ed 1.33 install errors

2009-06-02 Thread Douglas A. Tutty
On Mon, Jun 01, 2009 at 09:13:47PM -0400, Rob Bochan wrote:
 On Monday 01 June 2009 08:53:19 pm Jude DaShiell wrote:
  Script started on Mon Jun  1 20:50:14 2009
  localhost:~# aptitude install ed
...
  update-alternatives: error: alternative path /bin/ed doesn't exist.
  dpkg: error processing ed (--configure):
subprocess installed post-installation script returned error exit status
  2 Errors were encountered while processing:
ed
  E: Sub-process /usr/bin/dpkg returned an error code (1)
 
 I got the same error here. I fixed it by creating a symlink from /usr/bin/ed 
 to /bin/ and that cleared it up. I'd imagine it's a bug in the package.

Considering that the main use of ed is either for scripted editing or
for editing when ncurses (or gui) isn't working, the bug is probably
having it in /usr/bin instead of /bin.  In Lenny, its in /bin (at least
on my box).  I would argue that another bug is that its not statically
linked but Debian doesn't seem to worry about having basic stuff static
and refer people to a live CD for system rescue.

Doug.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: ed 1.33 install errors

2009-06-02 Thread 明覺
On Tue, Jun 2, 2009 at 9:32 PM, Douglas A. Tutty dtu...@vianet.ca wrote:
 On Mon, Jun 01, 2009 at 09:13:47PM -0400, Rob Bochan wrote:
 On Monday 01 June 2009 08:53:19 pm Jude DaShiell wrote:
  Script started on Mon Jun  1 20:50:14 2009
  localhost:~# aptitude install ed
...
  update-alternatives: error: alternative path /bin/ed doesn't exist.
  dpkg: error processing ed (--configure):
subprocess installed post-installation script returned error exit status
  2 Errors were encountered while processing:
ed
  E: Sub-process /usr/bin/dpkg returned an error code (1)

 I got the same error here. I fixed it by creating a symlink from /usr/bin/ed
 to /bin/ and that cleared it up. I'd imagine it's a bug in the package.


thank you, I solved it by this way.

 Considering that the main use of ed is either for scripted editing or
 for editing when ncurses (or gui) isn't working, the bug is probably
 having it in /usr/bin instead of /bin.  In Lenny, its in /bin (at least
 on my box).  I would argue that another bug is that its not statically
 linked but Debian doesn't seem to worry about having basic stuff static
 and refer people to a live CD for system rescue.

 Doug.


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org





-- 
不苦不樂正念正智
Gnu.Linux.(Debian|gNewSense).Gnome.(Mozilla|Gmail|Evolution|Scim|Flashplayer)
Microsoft.Windows.(Vista|XP).(QQ|Game|Notepad++) Gcc.Gtkmm.Opengl


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: ed 1.33 install errors

2009-06-02 Thread Boyd Stephen Smith Jr.
In 20090602133233.ga7...@blitz.hooton, Douglas A. Tutty wrote:
I would argue that another bug is that its not statically
linked but Debian doesn't seem to worry about having basic stuff static
and refer people to a live CD for system rescue.

That because static linking is a security and modularity nightmare.  e.g. if 
there is a security issue bug in glibc, everything statically linked has to 
be rebuilt *after* the buildds are upgraded to a glibc that no longer has 
the issue.  Either that, or a combination of that and auditing each 
statically linked program to determine if they use glibc in an vulnerable 
manner.  Plus, if the security issue was found in Sid, but didn't affect the 
glibc in Squeeze you'd still have to include the Squeeze packages in the 
audit since they were built against the glibc from Sid.

Plus, static linking wastes both disk space and memory (and, as a result, 
CPU cycles aka time aka money) compared to real-world use of shared objects.

So, while I agree that it would be really nice to be able to recover from a 
broken dynamic linker from within a running Debian system; static linking 
(selected) files in /bin is not a solution I'm willing to accept, mostly.  
We do have busybox-static which provides a statically-linked version of a 
lot of utilities -- enough to recover from most situations with enough 
effort.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



signature.asc
Description: This is a digitally signed message part.


Re: ed 1.33 install errors

2009-06-02 Thread Boyd Stephen Smith Jr.
In 200906021043.59937@iguanasuicide.net, Boyd Stephen Smith Jr. wrote:
In 20090602133233.ga7...@blitz.hooton, Douglas A. Tutty wrote:
I would argue that another bug is that its not statically
linked.
We do have busybox-static which provides a statically-linked
 version of a lot of utilities -- enough to recover from most situations
 with enough effort.

In particular, it has a statically-linked 'ed' and 'vi'.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



signature.asc
Description: This is a digitally signed message part.


Re: ed 1.33 install errors

2009-06-02 Thread 明覺
On Wed, Jun 3, 2009 at 12:11 AM, Boyd Stephen Smith Jr.
b...@iguanasuicide.net wrote:
 In 200906021043.59937@iguanasuicide.net, Boyd Stephen Smith Jr. wrote:
In 20090602133233.ga7...@blitz.hooton, Douglas A. Tutty wrote:
I would argue that another bug is that its not statically
linked.
We do have busybox-static which provides a statically-linked
 version of a lot of utilities -- enough to recover from most situations
 with enough effort.

 In particular, it has a statically-linked 'ed' and 'vi'.
I do not understand why this issue is related with static linking or
dynamic linking, now I'm wondering is it proper for me to add the link
/bin/ed which points to /usr/bin/ed? if not proper, should I remove
the link made by me? (I found that ed was upgrade again today, maybe
to fix the bug)
thanks!
 --
 Boyd Stephen Smith Jr.   ,= ,-_-. =.
 b...@iguanasuicide.net   ((_/)o o(\_))
 ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
 http://iguanasuicide.net/\_/





-- 
不苦不樂正念正智
Gnu.Linux.(Debian|gNewSense).Gnome.(Mozilla|Gmail|Evolution|Scim|Flashplayer)
Microsoft.Windows.(Vista|XP).(QQ|Game|Notepad++) Gcc.Gtkmm.Opengl


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: ed 1.33 install errors

2009-06-02 Thread 明覺
I found that today's upgrade of ed removed the link made by me, and
moved ed from /usr/bin to /bin, so I guess that the packager just made
a mistake to put ed into /usr/bin yestoday.

2009/6/3 明覺 shi.min...@gmail.com:
 On Wed, Jun 3, 2009 at 12:11 AM, Boyd Stephen Smith Jr.
 b...@iguanasuicide.net wrote:
 In 200906021043.59937@iguanasuicide.net, Boyd Stephen Smith Jr. wrote:
In 20090602133233.ga7...@blitz.hooton, Douglas A. Tutty wrote:
I would argue that another bug is that its not statically
linked.
We do have busybox-static which provides a statically-linked
 version of a lot of utilities -- enough to recover from most situations
 with enough effort.

 In particular, it has a statically-linked 'ed' and 'vi'.
 I do not understand why this issue is related with static linking or
 dynamic linking, now I'm wondering is it proper for me to add the link
 /bin/ed which points to /usr/bin/ed? if not proper, should I remove
 the link made by me? (I found that ed was upgrade again today, maybe
 to fix the bug)
 thanks!
 --
 Boyd Stephen Smith Jr.   ,= ,-_-. =.
 b...@iguanasuicide.net   ((_/)o o(\_))
 ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
 http://iguanasuicide.net/\_/





 --
 不苦不樂正念正智
 Gnu.Linux.(Debian|gNewSense).Gnome.(Mozilla|Gmail|Evolution|Scim|Flashplayer)
 Microsoft.Windows.(Vista|XP).(QQ|Game|Notepad++) Gcc.Gtkmm.Opengl




-- 
不苦不樂正念正智
Gnu.Linux.(Debian|gNewSense).Gnome.(Mozilla|Gmail|Evolution|Scim|Flashplayer)
Microsoft.Windows.(Vista|XP).(QQ|Game|Notepad++) Gcc.Gtkmm.Opengl


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



ed 1.33 install errors

2009-06-01 Thread Jude DaShiell

Script started on Mon Jun  1 20:50:14 2009
localhost:~# aptitude install ed
Reading package lists... 0%Reading package lists... 100%Reading package 
lists... Done
Building dependency tree... 0%Building dependency tree... 0%Building dependency 
tree... 50%Building dependency tree... 50%Building dependency tree
Reading state information... 0%Reading state information... 0%Reading state 
information... Done
Reading extended state information... 0%Reading extended state information
Initializing package states... 0% Initializing package states... Done
Reading task descriptions... 0%Reading task descriptions... 0%Reading task descriptions... Done 
The following NEW packages will be installed:
  ed 
0 packages upgraded, 1 newly installed, 0 to remove and 1 not upgraded.

Need to get 0B/60.8kB of archives. After unpacking 115kB will be used.
Writing extended state information... 0%Writing extended state information... 
1%Writing extended state information... Done
Selecting previously deselected package ed.
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading 
database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading 
database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading 
database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading 
database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading 
database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading 
database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading 
database ... 89441 files and directories currently installed.)
Unpacking ed (from .../apt/archives/ed_1.3-3_i386.deb) ...
Processing triggers for man-db ...
Setting up ed (1.3-3) ...
update-alternatives: error: alternative path /bin/ed doesn't exist.
dpkg: error processing ed (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 ed
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up ed (1.3-3) ...
update-alternatives: error: alternative path /bin/ed doesn't exist.
dpkg: error processing ed (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 ed
Reading package lists... 0%   Reading package lists... 0%Reading 
package lists... 0%Reading package lists... Done
Building dependency tree... 0%Building dependency tree... 0%Building dependency 
tree... 50%Building dependency tree... 50%Building dependency tree... 
75%Building dependency tree
Reading state information... 0%Reading state information... 0%Reading state 
information... Done
Reading extended state information... 0%Reading extended state information
Initializing package states... 0% Initializing package states... Done
Writing extended state information... 0%Writing extended state information... 
20%Writing extended state information... Done
Reading task descriptions... 0%   Reading task descriptions... Done

localhost:~# exit
exit

Script done on Mon Jun  1 20:50:39 2009



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: ed 1.33 install errors

2009-06-01 Thread Boyd Stephen Smith Jr.
In pine.bsf.4.64.0906012052490.14...@freire1.furyyjbeyq.arg, Jude DaShiell 
wrote:
Script done on Mon Jun  1 20:50:39 2009

Was there a question in there somewhere?
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



signature.asc
Description: This is a digitally signed message part.


Re: ed 1.33 install errors

2009-06-01 Thread Rob Bochan
On Monday 01 June 2009 08:53:19 pm Jude DaShiell wrote:
 Script started on Mon Jun  1 20:50:14 2009
 localhost:~# aptitude install ed
   ...
 update-alternatives: error: alternative path /bin/ed doesn't exist.
 dpkg: error processing ed (--configure):
   subprocess installed post-installation script returned error exit status
 2 Errors were encountered while processing:
   ed
 E: Sub-process /usr/bin/dpkg returned an error code (1)

I got the same error here. I fixed it by creating a symlink from /usr/bin/ed 
to /bin/ and that cleared it up. I'd imagine it's a bug in the package.

...Rob

-- 
Eleven puppies were harmed during the making of this email.