pkgin unable to update

4,424 views
Skip to first unread message

Manoj

unread,
Mar 22, 2011, 10:20:44 AM3/22/11
to minix3
Hi ,
I installed minix3 in virtualbox and "pkgin update" is not working for
some reason.The host system is Ubuntu 10.10.I am behind a proxy.Any
help would be greatly appreciated

Regards,
manoj

Antoine LECA

unread,
Mar 22, 2011, 11:26:57 AM3/22/11
to min...@googlegroups.com
Manoj wrote:
> I installed minix3 in virtualbox and "pkgin update" is not working

Please describe "not working"

How is your network connection as seen from MINIX? results from ping,
fetch will help here. Particularly fetching
ftp://ftp.minix3.org/pub/minix/packages/3.1.8/i386/All/pkg_summary.bz2


Antoine

pikpik

unread,
Mar 22, 2011, 11:37:11 AM3/22/11
to minix3
Hi,

On Mar 22, 10:20 am, Manoj wrote:

> I installed minix3 in virtualbox and "pkgin update" is not working for
> some reason.

> I am behind a proxy.

I think I've had this problem before, and I assume setting pkgsrc's
environment variables (as pkgin shares pkgsrc's variables) should
solve the problem: http://groups.google.com/group/minix3/browse_thread/thread/1d6c2e9d254b44a1/

For example:

ftp_proxy=ftp://orpheus.amdahl.com:80/
http_proxy=http://orpheus.amdahl.com:80/

I hope this helps,
pikpik

Manoj

unread,
Mar 22, 2011, 12:22:59 PM3/22/11
to min...@googlegroups.com, pikpik
Tried This I keep getting  could not fetch ftp://ftp.minix3.org/pub/minix/packages/3.1.8/i386/All/pkg_summary.bz2 and I set the network adapter to bridged in Vbox .



I hope this helps,
pikpik

--
You received this message because you are subscribed to the Google Groups "minix3" group.
To post to this group, send email to min...@googlegroups.com.
To unsubscribe from this group, send email to minix3+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/minix3?hl=en.


Hrishikesh Murali

unread,
Mar 22, 2011, 1:47:22 PM3/22/11
to min...@googlegroups.com
Hi,


On Tue, Mar 22, 2011 at 7:50 PM, Manoj <manoj0...@gmail.com> wrote:
I am behind a proxy.

Even I am behind a proxy. All I needed to do is:

# export http_proxy=http://<username>:<password>@<proxy>:<port>/
# pkgin update

My network adapter settings are NAT in virtualbox, and it works fine for me.

This is just a wild guess as it's implemented in my institute. Maybe it doesn't work for you as you may be in an institution and MAC filtering may be done. Since your bridged adapter has a separate new MAC address, your institution must've filtered this MAC address.

--
Thanks and Regards,
Hrishikesh Murali

Manoj

unread,
Mar 22, 2011, 4:35:16 PM3/22/11
to min...@googlegroups.com, Hrishikesh Murali

Its working finally thanks  Hrishikesh.

Regards,
Manoj
--
Thanks and Regards,
Hrishikesh Murali

Vicky Kak

unread,
Mar 23, 2011, 4:17:16 AM3/23/11
to min...@googlegroups.com, Manoj, Hrishikesh Murali
Manoj,
 
what was the initial error that you have been seeing, just curious to know?
I am unable to get the pkgin update working and I see the following message
 
pkgin: Can't open database /usr/var/db/pkgin/pkgin.db: unable to open database file: No such file or directory.
 
Regards,
Vicky

Antoine LECA

unread,
Mar 23, 2011, 4:57:32 AM3/23/11
to min...@googlegroups.com
Vicky Kak wrote:
> I am unable to get the pkgin update working and I see the following message
>
> pkgin: Can't open database /usr/var/db/pkgin/pkgin.db: unable to open
> database file: No such file or directory.

Are you root?
Did you issue the "pkgin update" command?


Antoine

Vicky Kak

unread,
Mar 24, 2011, 12:07:02 PM3/24/11
to min...@googlegroups.com, Antoine LECA
Yes I did logged in as root and did execute "pkgin update" command!

Regards,
Vicky

Vicky Kak

unread,
Mar 24, 2011, 12:08:25 PM3/24/11
to min...@googlegroups.com
I did restart the VM and I still get the same error.

regards,
Vicky

On Wed, Mar 23, 2011 at 3:06 PM, Manoj <manoj0...@gmail.com> wrote:


On Wed, Mar 23, 2011 at 1:47 PM, Vicky Kak <vick...@gmail.com> wrote:
Manoj,
 
what was the initial error that you have been seeing, just curious to know?
I am unable to get the pkgin update working and I see the following message
 
pkgin: Can't open database /usr/var/db/pkgin/pkgin.db: unable to open database file: No such file or directory.
 
Regards,
Vicky

just restart the VM i got the same error and when i restarted it worked.

Regards,
Manoj
Message has been deleted

Nick Collins

unread,
Mar 27, 2011, 1:36:10 PM3/27/11
to minix3
Hi Vicky

When you rebooted MINIX post-installation did it definitely load from
the hard drive rather than the CD/iso? I had the same problem as you
and was very confused until I noticed that I was still booting from
the CD!

Nick

On Mar 24, 12:08 pm, Vicky Kak <vicky....@gmail.com> wrote:
> I did restart the VM and I still get the same error.
>
> regards,
> Vicky
>
> On Wed, Mar 23, 2011 at 3:06 PM, Manoj <manoj0011...@gmail.com> wrote:
>
> > On Wed, Mar 23, 2011 at 1:47 PM, Vicky Kak <vicky....@gmail.com> wrote:
>
> >> Manoj,
>
> >> what was the initial error that you have been seeing, just curious to
> >> know?
> >> I am unable to get the pkgin update working and I see the following
> >> message
>
> >> pkgin: Can't open database /usr/var/db/pkgin/pkgin.db: unable to open
> >> database file: No such file or directory.
>
> >> Regards,
> >> Vicky
>
> >> just restart the VM i got the same error and when i restarted it worked.
>
> > Regards,
> > Manoj
>
> >>  On Wed, Mar 23, 2011 at 2:05 AM, Manoj <manoj0011...@gmail.com> wrote:
>
> >>>  On Tue, Mar 22, 2011 at 11:17 PM, Hrishikesh Murali <
> >>> hrishikeshmural...@gmail.com> wrote:
>
> >>>> Hi,

sziang sziang

unread,
Mar 28, 2011, 1:04:57 AM3/28/11
to min...@googlegroups.com
Hi Nick, I am a newbie in this so do take my advise with a pinch of salt.

This is my experience on booting from hard drive (not your networking question about pkgin which I think involves setting up properly your firewall, bridging between your virtual box and your host OS etc)

After booting the startup boot CD, you need to install it in your hard drive, by typing SETUP. Then go through the option and finish installing. If you are not installing Minix at your main partition, you would need to use boot loader to make sure you load it up. To do this,

1. You can configure your bios to boot from CD
2. then boot with your minix boot CD
3. then type bin or root to login
4. then type shutdown
5. now you are at the minix boot menu(? not sure about this)
5. then type boot dXpY (X and Y depends on where you install your minix in your hard drive, try d0p0).

additional, to install pkgin from your CD, you can do the following.
After you have successfully booted from your Hard drive, If you have no network connection and to install pkgin, you would need to type "#pkgin_cd" in root to mount the image. Then you can type "#pkgin in minix-all" to insall.

Regards
Sziang

Vicky Kak

unread,
Apr 5, 2011, 6:22:34 AM4/5/11
to min...@googlegroups.com, Nick Collins
Hi Nick,
 
I am sure I used iso as I did not use the CD.
 
Thanks,
Vicky

Arun Thomas

unread,
Apr 5, 2011, 6:35:31 AM4/5/11
to min...@googlegroups.com
On Tue, Apr 5, 2011 at 12:22 PM, Vicky Kak <vick...@gmail.com> wrote:
> Hi Nick,
>
> I am sure I used iso as I did not use the CD.

After you finished the installation, did you tell VirtualBox to boot
from your new hard disk image, as opposed to the ISO image? I believe
this is what Nick was saying.

That's the only scenario in which I've seen this error.

Best,
Arun

Vicky Kak

unread,
Apr 5, 2011, 7:01:03 AM4/5/11
to min...@googlegroups.com
Let me check that, I don't know where the new disk image goes. I do remmember that I had called the setup.
 
Regards,
Vicky

--

Arun Thomas

unread,
Apr 5, 2011, 7:09:18 AM4/5/11
to min...@googlegroups.com
On Tue, Apr 5, 2011 at 1:01 PM, Vicky Kak <vick...@gmail.com> wrote:
> Let me check that, I don't know where the new disk image goes. I do
> remmember that I had called the setup.

See Step 4 on http://wiki.minix3.org/en/UsersGuide/RunningMinixOnVirtualBox

Arun

Vicky Kak

unread,
Apr 5, 2011, 7:42:27 AM4/5/11
to min...@googlegroups.com
>>5. then type boot dXpY (X and Y depends on where you install your minix in your hard drive, try d0p0).
 
I got it working from the above instructions, could not find it from the Step 4 at http://wiki.minix3.org/en/UsersGuide/RunningMinixOnVirtualBox
Thanks,
Vicky


Arun

Reply all
Reply to author
Forward
0 new messages