boyd1982
Posts: 2
Joined: Thu May 30, 2013 1:04 pm

Installing Tight VNC

Thu May 30, 2013 2:03 pm

I am a novice never used a pi before, i am using it as part of my uni course and i am having a few issues.
I have tried many suggestions on the forum with people having similar issues but i am still stuck.

I am trying to use my Raspberry PI remotely using putty and ssh via an Ethernet cable, i have followed many tutorials to set up my device.
I have encounterd many issues along the way which i have sorted with help from the forum but this has me stumped.
I am trying to install tightvnc so can access the GUI but i just cant tight vnc to install.

If i enter the following code like instructed on many tutorials:

sudo apt-get install tightvncserver

I get the following response:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package tightvncserver

I have done sudo apt-get update and sudo apt-get upgrade already

I am also using a laptop with windows 7 installed if that makes any difference, any help would be appreciated cheers.

pjc123
Posts: 922
Joined: Thu Mar 29, 2012 3:37 pm
Contact: Website

Re: Installing Tight VNC

Thu May 30, 2013 4:56 pm

That's strange. "sudo apt-get install tightvncserver" should just work.

Are you sure you are answering any questions that come up during the update and/or upgrade to proceed with the process? Have you done a reboot since the update/upgrade? What operating system and version are you using? tightvncserver is certainly available in Debian based Squeeze, Wheezy and Jessie.
My Raspberry Pi Project Page:

https://www.flaminghellmet.com/launch/

boyd1982
Posts: 2
Joined: Thu May 30, 2013 1:04 pm

Re: Installing Tight VNC

Mon Jun 03, 2013 7:50 pm

I think some updates were been missed when applying updates.

I Thought i would have a look at the repository on here for Debian to see if could manually download tightvnc.

I noticed the following regarding sources.list

deb http://archive.raspbian.org/raspbian wheezy main contrib non-free
deb-src http://archive.raspbian.org/raspbian wheezy main contrib non-free

This was not present on my sources.list so i added it then did another update,after about ten minutes it finished updating
and i tried again and it installed fine. I somehow blundered across the solution lol.

Everything seems to be working fine now accessed the GUI through my laptop a number of times now and had no more issues.

Thanks for your time though.

Mesdag
Posts: 5
Joined: Fri Jan 01, 2016 11:56 am

Re: Installing Tight VNC

Fri Jan 01, 2016 12:31 pm

I have the same problem and none of the proposed solutions seem to work. When I use apt-get install tightvncserver I get the following:
Reading package lists ... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package tightvncserver
I am using a Raspberry Pi2 set up a screen, keyboard and mouse. Internet connection via wifi works.
Suggested solutions would be very welcome.

Mesdag
Posts: 5
Joined: Fri Jan 01, 2016 11:56 am

Re: Installing Tight VNC

Fri Jan 01, 2016 4:35 pm

Well, it seems that I'm able to answer this myself now although I don't understand the reason I had the problem. In case others struggle as I did, I should note that I realized that there also were other programmes that I could not install - got the same error message. I say this as the solution might be the same for others having trouble installing things.
The solution was to update (sudo apt-get update) and upgrade (sudo apt-get upgrade). I then installed tightvncserver and the process worked - well first time round it did not complete so I did another update and then it worked.
Now, the part that I do not understand is that I updated/upgraded my Raspberry several times yesterday and after some updates had been installed it seemed that there were no more updates. I also tried to update today after experiencing the problems before posted my question.
Anyway, it now works for me. I don't know whether there is any lesson in this for anyone else, but I thought that I'd share this in case it helps other beginners.

Navyscourge
Posts: 258
Joined: Sat Oct 24, 2015 1:50 pm

Re: Installing Tight VNC

Fri Jan 01, 2016 5:08 pm

Welcome to the Pi forum :)

It is not a good idea to resurrect really old threads as things have changed significantly since then.

The 'update' only updates the list of available packages; it does not change your system. The 'upgrade' is the bit that installs new versions of your system packages

Mesdag
Posts: 5
Joined: Fri Jan 01, 2016 11:56 am

Re: Installing Tight VNC

Fri Jan 01, 2016 5:37 pm

Noted. Thanks for the explanation.

Return to “Beginners”