creating the file/etc/apt/conf.d./30proxy and adding there the proxyinfo:
Acquire::http::proxy"http://IP:8080/";
Acquire::ftp::proxy"ftp://IP:8080/";
Acquire::https::proxy"https://IP:8080/";
Where "IP" is the IP of the proxy. After this, I couldsucessfully update my system.