Re: What does it mean this error when I try install a package?

2017-05-11 Thread Ron Georgia
Ajitabh,
Could you copy and paste the /etc/installurl here? I can try to do the same 
thing on my PC to see if I get the same error.
Normally I simply pkg_add python, then pick the version I want to install, as 
was already suggested. I run python 2.7 and 3.6 on all my machines. I typically 
do not follow the suggestion from the pkg_info exactly. I usually create a 
/usr/local/bin/python2 and python3 to cover my pythonic cravings. Actually, the 
best way to develop using python is to use their virtual environment. My 
experience is that OpenBSD has provided an excellent platform for your python 
development experience.
I know I did not explain ‘why’ you could not install python-2.7.13p0.tgz, but 
hopefully you have enough to install and start coding. Love python. 

> On May 11, 2017, at 4:46 AM, Ajitabh Pandey  wrote:
> 
> Hi,
> 
> I got a similar message when I try to install python, but upong
> investigating I realise that python was already installed - perhaps as a
> pre-requisite for glib2. I am not using PKG_PATH, rather I use
> /etc/installurl for specifying a list of my mirrors (man installurl(5) for
> details)
> 
> $ doas pkg_add python-2.7.13p0
> quirks-2.304 signed on 2017-04-02T15:01:33Z
> https://ftp.openbsd.org/pub/OpenBSD/6.1/packages-stable/amd64/python-2.7.13p0.tgz:
> ftp: Error retrieving file: 404 Not Found
> signify: gzheader truncated
> 
> For a very long time I was trying to understand why pkg_add is looking for
> package in packages-stable directory when this directory does not exists on
> any of the mirrors. I checked the standard directory paths for mirror on
> OpenBSD website and this directory was not there also.
> 
> Can someone help me understand why it is so, or point to some relevant
> document.
> 
> Also, I had to run the following commands as recommended by pkg_info python
> 
> $ doas ln -sf /usr/local/bin/python2.7 /usr/local/bin/python
> $ doas ln -sf /usr/local/bin/python2.7-2to3 /usr/local/bin/2to3
> $ doas ln -sf /usr/local/bin/python2.7-config /usr/local/bin/python-config
> $ doas ln -sf /usr/local/bin/pydoc2.7  /usr/local/bin/pydoc
> 
> Do we have any alternatives management system in OpenBSD like we have in
> linux or this has to be done by hand.
> 
> Regards.
> --
> ~ajitabhpandey
> 
> On Mon, Apr 17, 2017 at 5:57 PM, Jiri B  wrote:
> 
>> On Mon, Apr 17, 2017 at 09:37:56PM +1000, Steven McDonald wrote:
>>> On Mon, 17 Apr 2017 11:02:37 +
>>> "C. L. Martinez"  wrote:
>>> 
 pkg_add -v python-2.7
>>> 
>>> There is no package called python-2.7. The package you want is called
>>> python-2.7.13p0. You have a few options:
>>> 
>>> 1. pkg_add python, then select the version you want.
>>> 2. pkg_add python-2.7.13p0
>>> 3. pkg_add -z python-2.7 (fuzzy matching, see pkg_add(1))
>> 
>>  ^ or use 'python%2.7'
>> 
>> j.
>> 
>> 
> 
> 
> -- 
> Ajitabh Pandey
> http://ajitabhpandey.info/ | http://unixclinic.net/ |
> http://buddingthoughts.info
> ICQ - 150615062
> Registered Linux User - 240748



Re: pkg_mgr, ntfs_3g, sudo, partition access.

2016-04-27 Thread Ron Georgia
Mohammad,

On Sat, Apr 23, 2016 at 08:59:41AM -0500, Edgar Pettijohn wrote:
> man disklabel
>
To find your DUID use doas disklabel sd1. You will have a multiline
output with one line similar to: duid: 3e35f72eb60d84ba. That is what
you will use in your /etc/fstab.
However I would strongly recommend reading the man page. I find having
the man page in a readable, scrollable format helpful. Check out
http://man.openbsd.org/?query=disklabel.
Also the FAQ is very helpful. http://www.openbsd.org/faq/faq14.html
 
> Scroll down to the first example.
> 
> Sent from my iPhone
> 
> > On Apr 23, 2016, at 8:08 AM, Mohammad BadieZadegan 
> wrote:
> >
> > Thanks Paul, It's resolve my issue! Bravo.
> > Thanks ludovic, I had bad chance in network speed at that time and when I
> > repeat your command it resolve my issue!
> > Dear Chris,
> > I have 2 other partitions other than my OpenBSD and I don't know my HDD
> > partitions IDs to append in my fstab! How can I know that?
> >
> > Regards to All.
> >
> > On Sat, Apr 23, 2016 at 8:08 PM, Paul Irofti  wrote:
> >
> >>> 2. I installed ntfs_3g but still I can not write over ntfs flash usb! How
> >>> can I do that?
> >>
> >> Are you using the mount(8) command? Do not! Use ntfs-3g(8).
> >
> >
> >
> > --
> > [image: ( openbsd.pro  933k.ir )] 
>

I'm new to participating in the mailing list AND to using mutt, so
forgive me if I step into the wrong sandbox.